diff options
author | 0x4A6F <0x4A6F@users.noreply.github.com> | 2021-09-20 13:37:05 +0200 |
---|---|---|
committer | 0x4A6F <0x4A6F@users.noreply.github.com> | 2021-09-21 15:37:05 +0200 |
commit | 01af935180289b3c3dde5add60b88392bcafeb4b (patch) | |
tree | 4a8862813f4fe680d1ec0731ee6f429ee2d367c2 /pkgs/servers/routinator | |
parent | d050e7dfc3af49c97f740319c15dd33de56598a5 (diff) |
routinator: 0.10.0 -> 0.10.1
Diffstat (limited to 'pkgs/servers/routinator')
-rw-r--r-- | pkgs/servers/routinator/Cargo.toml.patch | 13 | ||||
-rw-r--r-- | pkgs/servers/routinator/default.nix | 17 |
2 files changed, 26 insertions, 4 deletions
diff --git a/pkgs/servers/routinator/Cargo.toml.patch b/pkgs/servers/routinator/Cargo.toml.patch new file mode 100644 index 0000000000000..8bda0299bc883 --- /dev/null +++ b/pkgs/servers/routinator/Cargo.toml.patch @@ -0,0 +1,13 @@ +diff --git a/Cargo.toml b/Cargo.toml +index 7f07b3b..7d7af0a 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -48,7 +48,7 @@ syslog = "5.0.0" + rustc_version = "0.4.0" + + [features] +-default = [ "socks", "ui"] ++default = [ "socks" ] + extra-debug = ["rpki/extra-debug"] + socks = [ "reqwest/socks" ] + rta = [] diff --git a/pkgs/servers/routinator/default.nix b/pkgs/servers/routinator/default.nix index 1ee3123259237..4f85650b87f99 100644 --- a/pkgs/servers/routinator/default.nix +++ b/pkgs/servers/routinator/default.nix @@ -1,18 +1,27 @@ -{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }: +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +, Security +}: rustPlatform.buildRustPackage rec { pname = "routinator"; - version = "0.10.0"; + version = "0.10.1"; src = fetchFromGitHub { owner = "NLnetLabs"; repo = pname; rev = "v${version}"; - sha256 = "171zmqqkgdpbspn70sgsypnyw7m6q2x8izwxrzbyi5xslsgd24i4"; + sha256 = "sha256-ThgTGtTZ0LGm9nHJoy0KhnBFWNvKRjk7hoNTVVTeL/Y="; }; + cargoPatches = [ + ./Cargo.toml.patch + ]; + cargoSha256 = "sha256-mcx+qUtTUxeYP0PeJp1eOQwsdS6PPUx/m7TfAyqFiIM="; + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; - cargoSha256 = "0r1m1zv3mkmmaalln3ny6m33dyjqzdyfbmkcav05kz12xjdd94fs"; meta = with lib; { description = "An RPKI Validator written in Rust"; |