1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/cloudflared/default.nix

26 lines
744 B
Nix
Raw Normal View History

2020-02-06 16:48:40 +00:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2020-02-06 16:48:40 +00:00
buildGoModule rec {
pname = "cloudflared";
2020-02-06 16:48:40 +00:00
version = "2019.12.0";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "cloudflared";
rev = version;
2020-02-06 16:48:40 +00:00
sha256 = "0cc78bysp7z76h4ddiwbsrygz4m4r71f8xylg99pc5qyg8p3my4p";
};
2020-02-06 16:48:40 +00:00
modSha256 = "1y5vh8g967rrm9b9hjlr70bs2rm09cpik673brgk3nzqxka10w7p";
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 ];
};
}