2021-09-22 15:38:15 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
2021-10-17 09:34:42 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, stdenv
|
2021-09-22 15:38:15 +00:00
|
|
|
, Security
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "routinator";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.13.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NLnetLabs";
|
|
|
|
repo = pname;
|
2021-08-25 08:27:29 +00:00
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-gInJS7JpvEbmOuZecB4xjff2d7TnjcVV+8mPOmy5Oyo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
cargoHash = "sha256-c5SQysjO821pfGhnyB4aGOZuwrHaN502PfkA1gBPtY4=";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildNoDefaultFeatures = true;
|
|
|
|
buildFeatures = [ "socks" ];
|
2021-10-17 09:34:42 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An RPKI Validator written in Rust";
|
|
|
|
homepage = "https://github.com/NLnetLabs/routinator";
|
2021-10-17 09:34:42 +00:00
|
|
|
changelog = "https://github.com/NLnetLabs/routinator/blob/v${version}/Changelog.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
2020-08-20 17:08:02 +00:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|