nixpkgs/pkgs/servers/routinator/default.nix

25 lines
694 B
Nix
Raw Normal View History

2021-03-10 12:04:25 +00:00
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
2019-05-30 22:31:28 +01:00
rustPlatform.buildRustPackage rec {
pname = "routinator";
2018-08-23 13:18:11 +01:00
version = "0.10.0";
2019-05-30 22:31:28 +01:00
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
2018-08-23 13:18:11 +01:00
rev = "v${version}";
sha256 = "171zmqqkgdpbspn70sgsypnyw7m6q2x8izwxrzbyi5xslsgd24i4";
2019-05-30 22:31:28 +01:00
};
2021-03-10 12:04:25 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
2018-08-23 13:18:11 +01:00
cargoSha256 = "0r1m1zv3mkmmaalln3ny6m33dyjqzdyfbmkcav05kz12xjdd94fs";
2019-05-30 22:31:28 +01:00
meta = with lib; {
2019-05-30 22:31:28 +01:00
description = "An RPKI Validator written in Rust";
homepage = "https://github.com/NLnetLabs/routinator";
license = licenses.bsd3;
2020-07-29 11:49:07 +01:00
maintainers = with maintainers; [ _0x4A6F ];
2021-03-10 12:04:25 +00:00
platforms = platforms.all;
2019-05-30 22:31:28 +01:00
};
}