2022-06-16 17:23:12 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "wgcf";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "2.2.21";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ViRb3";
|
2023-07-15 17:15:38 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-FzzPDTRmDCBS7EZOgj4ckytbtlRPqPdHpyn3nF0yHdc=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = ".";
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
vendorHash = "sha256-cGtm+rUgYppwwL/BizWikPUyFExHzLucL2o2g9PgGNw=";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cross-platform, unofficial CLI for Cloudflare Warp";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/ViRb3/wgcf";
|
|
|
|
license = licenses.mit;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with maintainers; [ yureien ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "wgcf";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|