From 995033c43971043bde754155165e813173996ca6 Mon Sep 17 00:00:00 2001 From: Soham Sen Date: Thu, 26 May 2022 20:08:40 +0530 Subject: [PATCH] wgcf: init at 2.2.14 --- pkgs/applications/networking/wgcf/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/networking/wgcf/default.nix 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 { };