nixpkgs/pkgs/servers/gortr/default.nix

23 lines
609 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2019-11-16 21:52:07 +00:00
buildGoModule rec {
pname = "gortr";
2020-08-02 02:02:28 +00:00
version = "0.14.6";
2019-11-16 21:52:07 +00:00
src = fetchFromGitHub {
owner = "cloudflare";
repo = pname;
rev = "v${version}";
2020-08-02 02:02:28 +00:00
sha256 = "1z1z4xl39qmd7df1zb2wsd2ycxr4aa9g23sfgp3ws4lhy5d6hyxw";
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;
};
}