gpclient: refactor to make update script work (#453468)
This commit is contained in:
@@ -8,26 +8,20 @@
|
||||
perl,
|
||||
pkg-config,
|
||||
vpnc-scripts,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "gpclient";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yuezk";
|
||||
repo = "GlobalProtect-openconnect";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MY4JvftrC6sR8M0dFvnGZOkvHIhPRcyct9AG/8527gw=";
|
||||
};
|
||||
|
||||
inherit (gpauth) meta;
|
||||
inherit (gpauth)
|
||||
src
|
||||
version
|
||||
cargoHash
|
||||
meta
|
||||
;
|
||||
|
||||
buildAndTestSubdir = "apps/gpclient";
|
||||
|
||||
cargoHash = "sha256-8LSGuRnWRWeaY6t25GdZ2y4hGIJ+mP3UBXRjcvPuD6U=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
perl
|
||||
makeWrapper
|
||||
|
||||
Reference in New Issue
Block a user