at 22.05-pre 27 lines 697 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "cloudflared"; 5 version = "2021.11.0"; 6 7 src = fetchFromGitHub { 8 owner = "cloudflare"; 9 repo = "cloudflared"; 10 rev = version; 11 sha256 = "sha256-amwzMSPMaXbIj95RhSVnl0kwHnEluKj4L7q4Zu2HPgE="; 12 }; 13 14 vendorSha256 = null; 15 16 doCheck = false; 17 18 ldflags = [ "-X main.Version=${version}" ]; 19 20 meta = with lib; { 21 description = "CloudFlare Argo Tunnel daemon (and DNS-over-HTTPS client)"; 22 homepage = "https://www.cloudflare.com/products/argo-tunnel"; 23 license = licenses.unfree; 24 platforms = platforms.unix; 25 maintainers = with maintainers; [ bbigras enorris thoughtpolice ]; 26 }; 27}