1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "gortr";
8 version = "0.14.8";
9
10 src = fetchFromGitHub {
11 owner = "cloudflare";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "sha256-3aZf5HINoFIJrN+196kk1lt2S+fN9DlQakwGnkMU5U8=";
15 };
16
17 vendorHash = null;
18
19 ldflags = [
20 "-s"
21 "-w"
22 "-X=main.version=${version}"
23 ];
24
25 meta = with lib; {
26 description = "The RPKI-to-Router server used at Cloudflare";
27 homepage = "https://github.com/cloudflare/gortr/";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ ];
30 };
31}