Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 1.3 kB view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "rtrtr"; 10 version = "0.3.2"; 11 12 src = fetchFromGitHub { 13 owner = "NLnetLabs"; 14 repo = "rtrtr"; 15 rev = "v${version}"; 16 hash = "sha256-1TmzC/d/odfYdo1CiCsFW3U7OCpTF4Gkw2w4c2yaxxw="; 17 }; 18 19 cargoHash = "sha256-SeQ2zRBbETabAhOItu3C6PUjL7vUsVDzWGbYcUIslF4="; 20 nativeBuildInputs = [ pkg-config ]; 21 22 buildNoDefaultFeatures = true; 23 24 meta = { 25 description = "RPKI data proxy"; 26 longDescription = '' 27 TRTR is an RPKI data proxy, designed to collect Validated ROA Payloads 28 from one or more sources in multiple formats and dispatch it onwards. It 29 provides the means to implement multiple distribution architectures for RPKI 30 such as centralised RPKI validators that dispatch data to local caching RTR 31 servers. RTRTR can read RPKI data from multiple RPKI Relying Party packages via 32 RTR and JSON and, in turn, provide an RTR service for routers to connect to. 33 ''; 34 homepage = "https://github.com/NLnetLabs/rtrtr"; 35 changelog = "https://github.com/NLnetLabs/rtrtr/blob/v${version}/Changelog.md"; 36 license = lib.licenses.bsd3; 37 maintainers = with lib.maintainers; [ steamwalker ]; 38 mainProgram = "rtrtr"; 39 }; 40}