1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/servers/routinator/default.nix
2021-09-21 15:37:05 +02:00

34 lines
744 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "routinator";
version = "0.10.1";
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ThgTGtTZ0LGm9nHJoy0KhnBFWNvKRjk7hoNTVVTeL/Y=";
};
cargoPatches = [
./Cargo.toml.patch
];
cargoSha256 = "sha256-mcx+qUtTUxeYP0PeJp1eOQwsdS6PPUx/m7TfAyqFiIM=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "An RPKI Validator written in Rust";
homepage = "https://github.com/NLnetLabs/routinator";
license = licenses.bsd3;
maintainers = with maintainers; [ _0x4A6F ];
platforms = platforms.all;
};
}