2021-03-10 04:04:25 -08:00
|
|
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
|
2019-05-30 14:31:28 -07:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "routinator";
|
2021-02-02 04:03:11 -08:00
|
|
|
version = "0.8.3";
|
2019-05-30 14:31:28 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NLnetLabs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-02 04:03:11 -08:00
|
|
|
sha256 = "sha256-JwPAwhD+Pkx8Kx24m7z/RbEvDnI2YR8dnTgAV7TMsFE=";
|
2019-05-30 14:31:28 -07:00
|
|
|
};
|
|
|
|
|
2021-03-10 04:04:25 -08:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2021-05-07 04:00:49 -07:00
|
|
|
cargoSha256 = "sha256-NtugqvaickcEowxGwotGuh6jb2NTK95csJxtjezy90s=";
|
2019-05-30 14:31:28 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-05-30 14:31:28 -07:00
|
|
|
description = "An RPKI Validator written in Rust";
|
|
|
|
homepage = "https://github.com/NLnetLabs/routinator";
|
|
|
|
license = licenses.bsd3;
|
2020-07-29 03:49:07 -07:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2021-03-10 04:04:25 -08:00
|
|
|
platforms = platforms.all;
|
2019-05-30 14:31:28 -07:00
|
|
|
};
|
|
|
|
}
|