2021-09-20 11:37:05 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
2021-10-19 23:07:12 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, stdenv
|
2021-09-20 11:37:05 +00:00
|
|
|
, Security
|
2024-03-01 23:04:18 +00:00
|
|
|
, SystemConfiguration
|
2021-09-20 11:37:05 +00:00
|
|
|
}:
|
2019-05-30 21:31:28 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "routinator";
|
2024-02-26 23:01:25 +00:00
|
|
|
version = "0.13.2";
|
2019-05-30 21:31:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NLnetLabs";
|
|
|
|
repo = pname;
|
2018-08-23 12:18:11 +00:00
|
|
|
rev = "v${version}";
|
2024-02-26 23:01:25 +00:00
|
|
|
hash = "sha256-DCejOfL+c04MABweyuvDLImlYKj/SONxBfXD/4OVzH0=";
|
2019-05-30 21:31:28 +00:00
|
|
|
};
|
|
|
|
|
2024-02-26 23:01:25 +00:00
|
|
|
cargoHash = "sha256-X+pAvudfbxng6kMv0NO00v6mMBXUMaXvZb/L1OgWd38=";
|
2021-09-20 11:37:05 +00:00
|
|
|
|
2024-03-01 23:04:18 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
2019-05-30 21:31:28 +00:00
|
|
|
|
2021-11-15 23:51:22 +00:00
|
|
|
buildNoDefaultFeatures = true;
|
|
|
|
buildFeatures = [ "socks" ];
|
2021-10-19 23:07:12 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-30 21:31:28 +00:00
|
|
|
description = "An RPKI Validator written in Rust";
|
|
|
|
homepage = "https://github.com/NLnetLabs/routinator";
|
2021-10-19 23:07:12 +00:00
|
|
|
changelog = "https://github.com/NLnetLabs/routinator/blob/v${version}/Changelog.md";
|
2019-05-30 21:31:28 +00:00
|
|
|
license = licenses.bsd3;
|
2020-07-29 10:49:07 +00:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "routinator";
|
2019-05-30 21:31:28 +00:00
|
|
|
};
|
|
|
|
}
|