Bump urouter to 0.5.0

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

View file

@ -35,29 +35,29 @@ in {
settings = {
alias = [
{
"uri" = "/";
"alias" = { url = "https://ivabus.dev"; };
uri = "/";
alias = { url = "https://ivabus.dev"; };
}
{
"uri" = "/";
"alias" = { file = "dotfiles"; };
"curl_only" = true;
uri = "/";
alias = { file = "dotfiles"; };
agent = { regex = "^curl/[0-9].[0-9].[0-9]$"; };
}
{
"uri" = "d";
"alias" = { file = "dotfiles"; };
uri = "d";
alias = { file = "dotfiles"; };
}
{
"uri" = "e";
"alias" = { file = "env"; };
uri = "e";
alias = { file = "env"; };
}
{
"uri" = "nix";
"alias" = { file = "nix"; };
uri = "nix";
alias = { file = "nix"; };
}
{
"uri" = "truth";
"alias" = { file = "truth.py"; };
uri = "truth";
alias = { file = "truth.py"; };
}
];
};

View file

@ -3,14 +3,14 @@
rustPlatform.buildRustPackage rec {
pname = "urouter";
version = "0.4.0";
version = "0.5.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-KhluExV7RP6+L5ZC9inu0tFsM4Gk3yuaM6EZud0O3Qs=";
sha256 = "sha256-4+p5CicHzpU15c6aK5R5cf5e0gxWoWf/5jhxDrD0Po8=";
};
cargoSha256 = "sha256-dSMDsh5gH9jbwfnrL+WHwFPr+rk/z/A5drsX4BdXv18=";
cargoSha256 = "sha256-9qEu9EzQ5jpMa9veY/ozUWiOVCgs6iZ6AJsZb/dHgDo=";
nativeBuildInputs = [ pkgs.pkg-config ];
}

View file

@ -5,6 +5,7 @@ let
in {
options.my.roles.server.urouter = {
enable = lib.mkEnableOption "Enable urouter";
settings = lib.mkOption rec {
type = aliasFormat.type;
apply = lib.recursiveUpdate default;