nixpkgs/pkgs/applications/networking/cloudflared/default.nix

28 lines
685 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "cloudflared";
version = "2022.2.1";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "cloudflared";
rev = version;
hash = "sha256-y9TduC6Fa1p3UFvSeW9n42AUD63dp/LEagiv3xlT/4U=";
};
2020-06-09 10:19:16 +00:00
vendorSha256 = null;
doCheck = false;
2021-08-26 06:45:51 +00:00
ldflags = [ "-X main.Version=${version}" ];
meta = with lib; {
2022-02-12 17:15:12 +00:00
description = "CloudFlare Tunnel daemon (and DNS-over-HTTPS client)";
homepage = "https://www.cloudflare.com/products/tunnel";
license = licenses.asl20;
platforms = platforms.unix;
2021-11-04 15:43:17 +00:00
maintainers = with maintainers; [ bbigras enorris thoughtpolice ];
};
}