Merge pull request #139962 from risicle/ris-routinator-0.10.1-r21.05

[21.05] routinator: 0.8.3 -> 0.10.1
This commit is contained in:
Martin Weinelt 2021-09-30 01:53:53 +02:00 committed by GitHub
commit ed4615e016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 4 deletions

View File

@ -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 = []

View File

@ -1,18 +1,27 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "routinator";
version = "0.8.3";
version = "0.10.1";
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JwPAwhD+Pkx8Kx24m7z/RbEvDnI2YR8dnTgAV7TMsFE=";
sha256 = "sha256-ThgTGtTZ0LGm9nHJoy0KhnBFWNvKRjk7hoNTVVTeL/Y=";
};
cargoPatches = [
./Cargo.toml.patch
];
cargoSha256 = "sha256-mcx+qUtTUxeYP0PeJp1eOQwsdS6PPUx/m7TfAyqFiIM=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
cargoSha256 = "sha256-NtugqvaickcEowxGwotGuh6jb2NTK95csJxtjezy90s=";
meta = with lib; {
description = "An RPKI Validator written in Rust";