nixpkgs/pkgs/servers/routinator/default.nix

24 lines
616 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
2019-05-30 22:31:28 +01:00
rustPlatform.buildRustPackage rec {
pname = "routinator";
2020-12-09 11:53:39 +00:00
version = "0.8.2";
2019-05-30 22:31:28 +01:00
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
rev = "v${version}";
2020-12-09 11:53:39 +00:00
sha256 = "sha256-rxCgW4cuYNSJ9P+cBYWAYJsghz2bp9mpAh6AuwLoV5o=";
2019-05-30 22:31:28 +01:00
};
2020-12-09 11:53:39 +00:00
cargoSha256 = "0fcp4b2b0mjddj4blr20gvp1ih3ldzzr04rm1m06i8d2lnl68i79";
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 ];
2019-05-30 22:31:28 +01:00
platforms = platforms.linux;
};
}