nixpkgs/pkgs/servers/rtrtr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
1.3 KiB
Nix
Raw Normal View History

2021-12-29 15:09:41 +01:00
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, stdenv
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "rtrtr";
2024-06-06 18:23:27 +02:00
version = "0.3.0";
2021-12-29 15:09:41 +01:00
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
rev = "v${version}";
2024-06-06 18:23:27 +02:00
hash = "sha256-P9bofTmDpnNCVQAGeq9J2XqfNeula8nL1KoBIHMZNWg=";
2021-12-29 15:09:41 +01:00
};
2024-06-06 18:23:27 +02:00
cargoHash = "sha256-ToJLE4nqgTqg5D4Qh2zi+wjmcdwDo0aupoDwKJCTwnM=";
2021-12-29 15:09:41 +01:00
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 ];
2023-11-27 02:17:53 +01:00
mainProgram = "rtrtr";
2021-12-29 15:09:41 +01:00
};
}