nixpkgs/pkgs/servers/routinator/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
820 B
Nix
Raw Normal View History

2021-09-20 12:37:05 +01:00
{ lib
, rustPlatform
2021-10-20 00:07:12 +01:00
, fetchFromGitHub
, stdenv
2021-09-20 12:37:05 +01:00
, Security
}:
2019-05-30 22:31:28 +01:00
rustPlatform.buildRustPackage rec {
pname = "routinator";
2022-04-25 17:37:11 +01:00
version = "0.11.2";
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}";
2022-04-25 17:37:11 +01:00
sha256 = "sha256-C6BY+Ba5KQgi+jMUKRi7osZNEDMLMDOhA4TQlbqb9jY=";
2019-05-30 22:31:28 +01:00
};
2022-04-25 17:37:11 +01:00
cargoSha256 = "sha256-5ZBE7jbhO4j4FwGSXLIbYjmtmNxFpiME9JqXBqwHSUA=";
2021-09-20 12:37:05 +01:00
2021-03-10 12:04:25 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
2019-05-30 22:31:28 +01:00
2021-11-15 23:51:22 +00:00
buildNoDefaultFeatures = true;
buildFeatures = [ "socks" ];
2021-10-20 00:07:12 +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";
2021-10-20 00:07:12 +01:00
changelog = "https://github.com/NLnetLabs/routinator/blob/v${version}/Changelog.md";
2019-05-30 22:31:28 +01:00
license = licenses.bsd3;
2020-07-29 11:49:07 +01:00
maintainers = with maintainers; [ _0x4A6F ];
2019-05-30 22:31:28 +01:00
};
}