2023-04-30 01:51:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2019-11-16 21:52:07 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gortr";
|
2024-02-29 20:41:15 +00:00
|
|
|
version = "0.15.0";
|
2019-11-16 21:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cloudflare";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-02-29 20:41:15 +00:00
|
|
|
sha256 = "sha256-W6+zCLPcORGcRJF0F6/LRPap4SNVn/oKGs21T4nSNO0=";
|
2019-11-16 21:52:07 +00:00
|
|
|
};
|
|
|
|
|
2023-04-30 00:02:22 +00:00
|
|
|
vendorHash = null;
|
2020-08-04 00:26:27 +00:00
|
|
|
|
2023-04-30 01:51:31 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X=main.version=${version}"
|
|
|
|
];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-11-16 21:52:07 +00:00
|
|
|
description = "RPKI-to-Router server used at Cloudflare";
|
|
|
|
homepage = "https://github.com/cloudflare/gortr/";
|
2023-04-30 01:51:31 +00:00
|
|
|
license = licenses.bsd3;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2019-11-16 21:52:07 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|