forked from mirrors/nixpkgs
rtrtr: init at 0.1.2
This commit is contained in:
parent
7518dfb567
commit
34963f05c5
42
pkgs/servers/rtrtr/default.nix
Normal file
42
pkgs/servers/rtrtr/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, stdenv
|
||||||
|
, Security
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "rtrtr";
|
||||||
|
version = "0.1.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "NLnetLabs";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-8wcmciQ2OcvMNl6gADte40jrP+VfhoKn95ofjyjtRIo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-Jdu5U56Duqzakvj3rldzch17y1nhJmuxwJtq4Ydx3IY=";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
buildNoDefaultFeatures = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "RPKI data proxy";
|
||||||
|
longDescription = ''
|
||||||
|
TRTR is an RPKI data proxy, designed to collect Validated ROA Payloads
|
||||||
|
from one or more sources in multiple formats and dispatch it onwards. It
|
||||||
|
provides the means to implement multiple distribution architectures for RPKI
|
||||||
|
such as centralised RPKI validators that dispatch data to local caching RTR
|
||||||
|
servers. RTRTR can read RPKI data from multiple RPKI Relying Party packages via
|
||||||
|
RTR and JSON and, in turn, provide an RTR service for routers to connect to.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/NLnetLabs/rtrtr";
|
||||||
|
changelog = "https://github.com/NLnetLabs/rtrtr/blob/v${version}/Changelog.md";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ steamwalker ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3769,6 +3769,10 @@ with pkgs;
|
||||||
libmaxminddb = null;
|
libmaxminddb = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rtrtr = callPackage ../servers/rtrtr {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
xmlbeans = callPackage ../tools/misc/xmlbeans { };
|
xmlbeans = callPackage ../tools/misc/xmlbeans { };
|
||||||
|
|
||||||
xmlsort = perlPackages.XMLFilterSort;
|
xmlsort = perlPackages.XMLFilterSort;
|
||||||
|
|
Loading…
Reference in a new issue