summary refs log tree commit diff
path: root/pkgs/applications/networking/wgcf/default.nix
blob: 5a9f4b43ce67c4947bd890e3c9b0cd62cac1e374 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "wgcf";
  version = "2.2.14";

  src = fetchFromGitHub {
    owner = "ViRb3";
    repo  = pname;
    rev   = "v${version}";
    hash  = "sha256-6V4fIoFB0fuCEu1Rj8QWGDNdgystrD/gefjbshvxVsw=";
  };

  subPackages = ".";

  vendorSha256 = "sha256-NGlV/qcnUlNLvt3uVRdfx+lUDgqAEBEowW9WIHBY+AI=";

  meta = with lib; {
    description = "Cross-platform, unofficial CLI for Cloudflare Warp";
    homepage    = "https://github.com/ViRb3/wgcf";
    license     = licenses.mit;
    maintainers = with maintainers; [ yureien ];
  };
}