diff options
Diffstat (limited to 'pkgs/servers/routinator/default.nix')
-rw-r--r-- | pkgs/servers/routinator/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/servers/routinator/default.nix b/pkgs/servers/routinator/default.nix index 4f85650b87f9..aff0499b98bd 100644 --- a/pkgs/servers/routinator/default.nix +++ b/pkgs/servers/routinator/default.nix @@ -1,7 +1,7 @@ { lib -, stdenv -, fetchFromGitHub , rustPlatform +, fetchFromGitHub +, stdenv , Security }: @@ -16,18 +16,19 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-ThgTGtTZ0LGm9nHJoy0KhnBFWNvKRjk7hoNTVVTeL/Y="; }; - cargoPatches = [ - ./Cargo.toml.patch - ]; cargoSha256 = "sha256-mcx+qUtTUxeYP0PeJp1eOQwsdS6PPUx/m7TfAyqFiIM="; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + cargoBuildFlags = [ "--no-default-features" "--features=socks" ]; + + cargoTestFlags = cargoBuildFlags; + meta = with lib; { description = "An RPKI Validator written in Rust"; homepage = "https://github.com/NLnetLabs/routinator"; + changelog = "https://github.com/NLnetLabs/routinator/blob/v${version}/Changelog.md"; license = licenses.bsd3; maintainers = with maintainers; [ _0x4A6F ]; - platforms = platforms.all; }; } |