nixpkgs/pkgs/servers/gortr/default.nix

22 lines
608 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2019-11-16 21:52:07 +00:00
buildGoModule rec {
pname = "gortr";
2020-05-19 06:55:40 +00:00
version = "0.14.4";
2019-11-16 21:52:07 +00:00
src = fetchFromGitHub {
owner = "cloudflare";
repo = pname;
rev = "v${version}";
2020-05-19 06:55:40 +00:00
sha256 = "1srwlpl8g0pzrxb2nyp6xvg10cidm2i6qb9m08k2g296hfgdqqq3";
2019-11-16 21:52:07 +00:00
};
vendorSha256 = "1nwrzbpqycr4ixk8a90pgaxcwakv5nlfnql6hmcc518qrva198wp";
2019-11-16 21:52:07 +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/";
license = licenses.gpl3;
maintainers = with maintainers; [ petabyteboy ];
platforms = platforms.all;
};
}