nixpkgs/pkgs/servers/routinator/default.nix

24 lines
624 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, rustPlatform }:
2019-05-30 23:31:28 +02:00
rustPlatform.buildRustPackage rec {
pname = "routinator";
2020-12-09 12:53:39 +01:00
version = "0.8.2";
2019-05-30 23:31:28 +02:00
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
rev = "v${version}";
2020-12-09 12:53:39 +01:00
sha256 = "sha256-rxCgW4cuYNSJ9P+cBYWAYJsghz2bp9mpAh6AuwLoV5o=";
2019-05-30 23:31:28 +02:00
};
2020-12-09 12:53:39 +01:00
cargoSha256 = "0fcp4b2b0mjddj4blr20gvp1ih3ldzzr04rm1m06i8d2lnl68i79";
2019-05-30 23:31:28 +02:00
meta = with lib; {
2019-05-30 23:31:28 +02:00
description = "An RPKI Validator written in Rust";
homepage = "https://github.com/NLnetLabs/routinator";
license = licenses.bsd3;
2020-07-29 12:49:07 +02:00
maintainers = with maintainers; [ _0x4A6F ];
2019-05-30 23:31:28 +02:00
platforms = platforms.linux;
};
}