3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/gortr/default.nix

25 lines
694 B
Nix
Raw Normal View History

2020-03-21 10:07:00 +00:00
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
2019-11-16 21:52:07 +00:00
buildGoModule rec {
pname = "gortr";
2020-03-01 13:17:25 +00:00
version = "0.14.1";
2019-11-16 21:52:07 +00:00
src = fetchFromGitHub {
owner = "cloudflare";
repo = pname;
rev = "v${version}";
2020-03-01 13:17:25 +00:00
sha256 = "03wxlras2akk2ig8sxzs89nvbc6zr2kbcmjlqldjdfhs1rcg82ra";
2019-11-16 21:52:07 +00:00
};
modSha256 = "157dpalfz3z1s3mxq63xy6lrkwzyy9xzmvn7wsxkwznjq4djv1a1";
2020-03-21 10:07:00 +00:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.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;
};
}