2020-06-18 07:06:33 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cloudflared";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "2020.11.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cloudflare";
|
|
|
|
repo = "cloudflared";
|
|
|
|
rev = version;
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "09bjqcrz7s40m7afb80dpx7jncp5prn2p6bksspv5wqc84l2nn5d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
vendorSha256 = null;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildFlagsArray = "-ldflags=-X main.Version=${version}";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "CloudFlare Argo Tunnel daemon (and DNS-over-HTTPS client)";
|
|
|
|
homepage = "https://www.cloudflare.com/products/argo-tunnel";
|
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.thoughtpolice maintainers.enorris ];
|
|
|
|
};
|
|
|
|
}
|