diff --git a/pkgs/applications/networking/wgcf/default.nix b/pkgs/applications/networking/wgcf/default.nix new file mode 100644 index 000000000000..3487ad6395cf --- /dev/null +++ b/pkgs/applications/networking/wgcf/default.nix @@ -0,0 +1,25 @@ +{ 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; + platforms = platforms.unix; + maintainers = with maintainers; [ yureien ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cdb1dc71df2c..59356a3dca0d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11726,6 +11726,8 @@ with pkgs; wg-bond = callPackage ../applications/networking/wg-bond { }; + wgcf = callPackage ../applications/networking/wgcf { }; + which = callPackage ../tools/system/which { }; whsniff = callPackage ../applications/networking/sniffers/whsniff { };