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 = { settings = {
alias = [ alias = [
{ {
"uri" = "/"; uri = "/";
"alias" = { url = "https://ivabus.dev"; }; alias = { url = "https://ivabus.dev"; };
} }
{ {
"uri" = "/"; uri = "/";
"alias" = { file = "dotfiles"; }; alias = { file = "dotfiles"; };
"curl_only" = true; agent = { regex = "^curl/[0-9].[0-9].[0-9]$"; };
} }
{ {
"uri" = "d"; uri = "d";
"alias" = { file = "dotfiles"; }; alias = { file = "dotfiles"; };
} }
{ {
"uri" = "e"; uri = "e";
"alias" = { file = "env"; }; alias = { file = "env"; };
} }
{ {
"uri" = "nix"; uri = "nix";
"alias" = { file = "nix"; }; alias = { file = "nix"; };
} }
{ {
"uri" = "truth"; uri = "truth";
"alias" = { file = "truth.py"; }; alias = { file = "truth.py"; };
} }
]; ];
}; };

View file

@ -3,14 +3,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "urouter"; pname = "urouter";
version = "0.4.0"; version = "0.5.0";
src = fetchCrate { src = fetchCrate {
inherit pname version; 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 ]; nativeBuildInputs = [ pkgs.pkg-config ];
} }

View file

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