Bump urouter to 0.4.0

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-12-21 07:07:59 +03:00
parent 8064898949
commit bbf14db0f4
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C
3 changed files with 11 additions and 13 deletions

View file

@ -36,29 +36,28 @@ in {
alias = [
{
"uri" = "/";
"alias" = "https://ivabus.dev";
"is_url" = true;
"alias" = { url = "https://ivabus.dev"; };
}
{
"uri" = "/";
"alias" = "dotfiles";
"alias" = { file = "dotfiles"; };
"curl_only" = true;
}
{
"uri" = "d";
"alias" = "dotfiles";
"alias" = { file = "dotfiles"; };
}
{
"uri" = "e";
"alias" = "env";
"alias" = { file = "env"; };
}
{
"uri" = "nix";
"alias" = "nix";
"alias" = { file = "nix"; };
}
{
"uri" = "truth";
"alias" = "truth.py";
"alias" = { file = "truth.py"; };
}
];
};

View file

@ -3,14 +3,14 @@
rustPlatform.buildRustPackage rec {
pname = "urouter";
version = "0.3.5";
version = "0.4.0";
src = fetchCrate {
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 ];
}

View file

@ -13,12 +13,11 @@ in {
alias = [
{
uri = "/";
alias = "https://someurl";
is_url = true;
alias = { url = "https://someurl"; };
}
{
uri = "/";
alias = "some_file";
alias = { file = "some_file"; };
curl_only = true;
}
];