mirror of
https://github.com/ivabus/nixos
synced 2024-11-25 01:45:06 +03:00
Bump urouter to 0.5.0
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
bbf14db0f4
commit
562c8c8e9f
3 changed files with 17 additions and 16 deletions
|
@ -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"; };
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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 ];
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue