2021-09-20 13:37:05 +02:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
2021-10-20 01:07:12 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, stdenv
|
2021-09-20 13:37:05 +02:00
|
|
|
, Security
|
|
|
|
}:
|
2019-05-30 23:31:28 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "routinator";
|
2021-11-09 22:04:20 +01:00
|
|
|
version = "0.10.2";
|
2019-05-30 23:31:28 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NLnetLabs";
|
|
|
|
repo = pname;
|
2018-08-23 14:18:11 +02:00
|
|
|
rev = "v${version}";
|
2021-11-09 22:04:20 +01:00
|
|
|
sha256 = "0a2iwpmljkha6qlbw0373wph7pxz05qym5712vzbszw0z42f82l2";
|
2019-05-30 23:31:28 +02:00
|
|
|
};
|
|
|
|
|
2021-11-09 22:04:20 +01:00
|
|
|
cargoSha256 = "0l3fhwgrdvjrlmiqdy90sfd8kb2s7y0lbfswlrr560ly0bi1lfbx";
|
2021-09-20 13:37:05 +02:00
|
|
|
|
2021-03-10 13:04:25 +01:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2019-05-30 23:31:28 +02:00
|
|
|
|
2021-11-16 00:51:22 +01:00
|
|
|
buildNoDefaultFeatures = true;
|
|
|
|
buildFeatures = [ "socks" ];
|
2021-10-20 01:07:12 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-05-30 23:31:28 +02:00
|
|
|
description = "An RPKI Validator written in Rust";
|
|
|
|
homepage = "https://github.com/NLnetLabs/routinator";
|
2021-10-20 01:07:12 +02:00
|
|
|
changelog = "https://github.com/NLnetLabs/routinator/blob/v${version}/Changelog.md";
|
2019-05-30 23:31:28 +02:00
|
|
|
license = licenses.bsd3;
|
2020-07-29 12:49:07 +02:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2019-05-30 23:31:28 +02:00
|
|
|
};
|
|
|
|
}
|