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

View File

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