2023-04-30 02:51:31 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2019-11-16 21:52:07 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gortr";
|
2023-04-30 01:02:22 +01:00
|
|
|
version = "0.14.8";
|
2019-11-16 21:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cloudflare";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-04-30 01:02:22 +01:00
|
|
|
sha256 = "sha256-3aZf5HINoFIJrN+196kk1lt2S+fN9DlQakwGnkMU5U8=";
|
2019-11-16 21:52:07 +00:00
|
|
|
};
|
|
|
|
|
2023-04-30 01:02:22 +01:00
|
|
|
vendorHash = null;
|
2020-08-04 01:26:27 +01:00
|
|
|
|
2023-04-30 02:51:31 +01: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 = "The RPKI-to-Router server used at Cloudflare";
|
|
|
|
homepage = "https://github.com/cloudflare/gortr/";
|
2023-04-30 02:51:31 +01:00
|
|
|
license = licenses.bsd3;
|
2022-06-22 23:51:46 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2019-11-16 21:52:07 +00:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|