nixpkgs/pkgs/servers/routinator/default.nix

24 lines
622 B
Nix
Raw Normal View History

2019-05-30 23:31:28 +02:00
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "routinator";
2019-07-18 18:54:00 +02:00
version = "0.5.0";
2019-05-30 23:31:28 +02:00
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
rev = "v${version}";
2019-07-18 18:54:00 +02:00
sha256 = "075dp092pgwnky96smv5v6sx9vj7hd5bif8rb1q4x6077ci5jixw";
2019-05-30 23:31:28 +02:00
};
2019-07-18 18:54:00 +02:00
cargoSha256 = "0qxp3pjmrr53n59c2wcdnbqgk259zcj9gd11wpqf7kj3wlzrnwvy";
2019-05-30 23:31:28 +02:00
meta = with stdenv.lib; {
description = "An RPKI Validator written in Rust";
homepage = "https://github.com/NLnetLabs/routinator";
license = licenses.bsd3;
maintainers = [ maintainers."0x4A6F" ];
platforms = platforms.linux;
};
}