depot/third_party/nixpkgs/pkgs/by-name/ro/routinator/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

31 lines
847 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "routinator";
version = "0.14.0";
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
rev = "v${version}";
hash = "sha256-SUcAhXIPgYGFkUIgSrUJrxwWQvkkmWG/d12hv8+PQI0=";
};
cargoHash = "sha256-1JxAbQPCQqDVry3wGIdY4q18rzCXlJ7Dnc8LIvhkW1g=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ Security SystemConfiguration ]);
meta = with lib; {
description = "RPKI Validator written in Rust";
homepage = "https://github.com/NLnetLabs/routinator";
changelog = "https://github.com/NLnetLabs/routinator/blob/v${version}/Changelog.md";
license = licenses.bsd3;
maintainers = with maintainers; [ _0x4A6F ];
mainProgram = "routinator";
};
}