gortr: Adopting package and refactor (#351612)

This commit is contained in:
0x4A6F 2024-11-05 17:01:41 +01:00 committed by GitHub
commit e6ec6afa21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,7 @@
{ lib {
, buildGoModule lib,
, fetchFromGitHub buildGoModule,
fetchFromGitHub,
}: }:
buildGoModule rec { buildGoModule rec {
@ -11,7 +12,7 @@ buildGoModule rec {
owner = "cloudflare"; owner = "cloudflare";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-W6+zCLPcORGcRJF0F6/LRPap4SNVn/oKGs21T4nSNO0="; hash = "sha256-W6+zCLPcORGcRJF0F6/LRPap4SNVn/oKGs21T4nSNO0=";
}; };
vendorHash = null; vendorHash = null;
@ -22,10 +23,10 @@ buildGoModule rec {
"-X=main.version=${version}" "-X=main.version=${version}"
]; ];
meta = with lib; { meta = {
description = "RPKI-to-Router server used at Cloudflare"; description = "RPKI-to-Router server used at Cloudflare";
homepage = "https://github.com/cloudflare/gortr/"; homepage = "https://github.com/cloudflare/gortr/";
license = licenses.bsd3; license = lib.licenses.bsd3;
maintainers = [ ]; maintainers = with lib.maintainers; [ stv0g ];
}; };
} }

View File

@ -38234,8 +38234,6 @@ with pkgs;
sieveshell = with python3.pkgs; toPythonApplication managesieve; sieveshell = with python3.pkgs; toPythonApplication managesieve;
gortr = callPackage ../servers/gortr { };
stayrtr = callPackage ../servers/stayrtr { }; stayrtr = callPackage ../servers/stayrtr { };
sunshine = callPackage ../servers/sunshine { }; sunshine = callPackage ../servers/sunshine { };