nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 33 lines 820 B view raw
1{ lib 2, rustPlatform 3, fetchFromGitHub 4, stdenv 5, Security 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "routinator"; 10 version = "0.12.1"; 11 12 src = fetchFromGitHub { 13 owner = "NLnetLabs"; 14 repo = pname; 15 rev = "v${version}"; 16 sha256 = "sha256-QH4M6Kr6UiDJAaDtEn2GXQT9oSSz3lqkf+VE0GfOqeg="; 17 }; 18 19 cargoSha256 = "sha256-lzw26aat+Zk0E70H7/xwZ6azRMkknfQmTrE4wOJRwfo="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 22 23 buildNoDefaultFeatures = true; 24 buildFeatures = [ "socks" ]; 25 26 meta = with lib; { 27 description = "An RPKI Validator written in Rust"; 28 homepage = "https://github.com/NLnetLabs/routinator"; 29 changelog = "https://github.com/NLnetLabs/routinator/blob/v${version}/Changelog.md"; 30 license = licenses.bsd3; 31 maintainers = with maintainers; [ _0x4A6F ]; 32 }; 33}