nixpkgs/pkgs/servers/routinator/default.nix

25 lines
685 B
Nix
Raw Normal View History

2021-03-10 12:04:25 +00:00
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
2019-05-30 21:31:28 +00:00
rustPlatform.buildRustPackage rec {
pname = "routinator";
2021-05-17 16:16:40 +00:00
version = "0.9.0";
2019-05-30 21:31:28 +00:00
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
2021-05-17 16:16:40 +00:00
rev = version;
sha256 = "sha256-8CBsLOAF0JnRMe7qLod6UDPGLMPwqDm0Z5BjB4KCkBc=";
2019-05-30 21:31:28 +00:00
};
2021-03-10 12:04:25 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
2021-05-17 16:16:40 +00:00
cargoSha256 = "sha256-S/RAt3tCIlaSqIHqP5C+QK9aQq+4CO/MW2toUo9kVKk=";
2019-05-30 21:31:28 +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";
license = licenses.bsd3;
2020-07-29 10:49:07 +00:00
maintainers = with maintainers; [ _0x4A6F ];
2021-03-10 12:04:25 +00:00
platforms = platforms.all;
2019-05-30 21:31:28 +00:00
};
}