mirror of
https://github.com/ivabus/nixos
synced 2024-11-25 17:55:06 +03:00
Bump urouter to 0.4.0
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
8064898949
commit
bbf14db0f4
3 changed files with 11 additions and 13 deletions
|
@ -36,29 +36,28 @@ in {
|
||||||
alias = [
|
alias = [
|
||||||
{
|
{
|
||||||
"uri" = "/";
|
"uri" = "/";
|
||||||
"alias" = "https://ivabus.dev";
|
"alias" = { url = "https://ivabus.dev"; };
|
||||||
"is_url" = true;
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"uri" = "/";
|
"uri" = "/";
|
||||||
"alias" = "dotfiles";
|
"alias" = { file = "dotfiles"; };
|
||||||
"curl_only" = true;
|
"curl_only" = true;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"uri" = "d";
|
"uri" = "d";
|
||||||
"alias" = "dotfiles";
|
"alias" = { file = "dotfiles"; };
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"uri" = "e";
|
"uri" = "e";
|
||||||
"alias" = "env";
|
"alias" = { file = "env"; };
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"uri" = "nix";
|
"uri" = "nix";
|
||||||
"alias" = "nix";
|
"alias" = { file = "nix"; };
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"uri" = "truth";
|
"uri" = "truth";
|
||||||
"alias" = "truth.py";
|
"alias" = { file = "truth.py"; };
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "urouter";
|
pname = "urouter";
|
||||||
version = "0.3.5";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-kLCJXLtcbF3IeTylbd7EpDx3cjt0sRz1P90iJYlLi7Y=";
|
sha256 = "sha256-KhluExV7RP6+L5ZC9inu0tFsM4Gk3yuaM6EZud0O3Qs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-zePizgFOoSDILz8PL74RQ+iPFXJY+l41M4EwLwzJRPU=";
|
cargoSha256 = "sha256-dSMDsh5gH9jbwfnrL+WHwFPr+rk/z/A5drsX4BdXv18=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.pkg-config ];
|
nativeBuildInputs = [ pkgs.pkg-config ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,12 +13,11 @@ in {
|
||||||
alias = [
|
alias = [
|
||||||
{
|
{
|
||||||
uri = "/";
|
uri = "/";
|
||||||
alias = "https://someurl";
|
alias = { url = "https://someurl"; };
|
||||||
is_url = true;
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
uri = "/";
|
uri = "/";
|
||||||
alias = "some_file";
|
alias = { file = "some_file"; };
|
||||||
curl_only = true;
|
curl_only = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue