10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-3pkDu20vgzslJcK5KQH+GY+jnimEZgm+bQxy8QMUeCk=";
21 cargoHash = "sha256-Z12fUK4TUgk38/vNAt8RWLFGLc8WnZAgHWz0xl1QKLI=";
23 buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
24 nativeBuildInputs = [ pkg-config ];
26 # Needed to get openssl-sys to use pkgconfig.
27 OPENSSL_NO_VENDOR = 1;
29 # disable failing tests on darwin
30 doCheck = !stdenv.isDarwin;
33 description = "RPKI Certificate Authority and Publication Server written in Rust";
35 Krill is a free, open source RPKI Certificate Authority that lets you run
36 delegated RPKI under one or multiple Regional Internet Registries (RIRs).
37 Through its built-in publication server, Krill can publish Route Origin
38 Authorisations (ROAs) on your own servers or with a third party.
40 homepage = "https://github.com/NLnetLabs/krill";
41 changelog = "https://github.com/NLnetLabs/krill/releases/tag/v${version}";
42 license = licenses.mpl20;
43 maintainers = with maintainers; [ steamwalker ];