mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 08:25:07 +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 = {
|
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"; };
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue