2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cloudflared";
|
2021-10-11 16:52:03 +00:00
|
|
|
version = "2021.9.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cloudflare";
|
|
|
|
repo = "cloudflared";
|
|
|
|
rev = version;
|
2021-10-11 16:52:03 +00:00
|
|
|
sha256 = "sha256-UAx3DY8d3I1g7DuNmBu4w+3NGUQqDdcScXdtq/VkpJ8=";
|
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;
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
ldflags = [ "-X main.Version=${version}" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|