Merge pull request #138808 from 0x4A6F/master-routinator

routinator: 0.10.0 -> 0.10.1
This commit is contained in:
Sandro 2021-09-22 11:43:45 +02:00 committed by GitHub
commit 94114e8da7
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.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";