gpclient: decouples from gpauth (#380850)

* gpclient: decouples from gpauth

* Apply suggestions from code review

---------

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
m1dugh
2025-02-16 22:24:09 +01:00
committed by GitHub
co-authored by Sandro
parent e10fa30d76
commit 75fad36319
+11 -2
View File
@@ -8,12 +8,21 @@
perl,
pkg-config,
vpnc-scripts,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage rec {
pname = "gpclient";
version = "2.4.1";
inherit (gpauth) version src meta;
src = fetchFromGitHub {
owner = "yuezk";
repo = "GlobalProtect-openconnect";
rev = "v${version}";
hash = "sha256-MY4JvftrC6sR8M0dFvnGZOkvHIhPRcyct9AG/8527gw=";
};
inherit (gpauth) meta;
buildAndTestSubdir = "apps/gpclient";
useFetchCargoVendor = true;