mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
36 lines
887 B
Nix
36 lines
887 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, stdenv
|
|
, Security
|
|
, SystemConfiguration
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "routinator";
|
|
version = "0.13.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "NLnetLabs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-DCejOfL+c04MABweyuvDLImlYKj/SONxBfXD/4OVzH0=";
|
|
};
|
|
|
|
cargoHash = "sha256-X+pAvudfbxng6kMv0NO00v6mMBXUMaXvZb/L1OgWd38=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
|
|
|
buildNoDefaultFeatures = true;
|
|
buildFeatures = [ "socks" ];
|
|
|
|
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";
|
|
};
|
|
}
|