diff --git a/pkgs/servers/gortr/default.nix b/pkgs/servers/gortr/default.nix new file mode 100644 index 000000000000..375631d5cbf8 --- /dev/null +++ b/pkgs/servers/gortr/default.nix @@ -0,0 +1,22 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "gortr"; + version = "0.13.0"; + + src = fetchFromGitHub { + owner = "cloudflare"; + repo = pname; + rev = "v${version}"; + sha256 = "1kg42qynqqj05bvfwzd77mpl63y3gnkk15x2a4rspxf4w1ziaxkr"; + }; + modSha256 = "157dpalfz3z1s3mxq63xy6lrkwzyy9xzmvn7wsxkwznjq4djv1a1"; + + meta = with lib; { + description = "The RPKI-to-Router server used at Cloudflare"; + homepage = "https://github.com/cloudflare/gortr/"; + license = licenses.gpl3; + maintainers = with maintainers; [ petabyteboy ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0f85dfa0d724..24902dcc5dc2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25551,4 +25551,6 @@ in sieveshell = with python3.pkgs; toPythonApplication managesieve; + gortr = callPackage ../servers/gortr {}; + }