gortr: fix version, fix license

This commit is contained in:
figsoda 2023-04-29 21:51:31 -04:00
parent 762ae7b223
commit ab84d867e3

View File

@ -1,4 +1,7 @@
{ lib, fetchFromGitHub, buildGoModule }:
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gortr";
@ -13,10 +16,16 @@ buildGoModule rec {
vendorHash = null;
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
meta = with lib; {
description = "The RPKI-to-Router server used at Cloudflare";
homepage = "https://github.com/cloudflare/gortr/";
license = licenses.gpl3;
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}