mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
{gpauth,gpclient}: Minor changes + 2.3.7 -> 2.3.9 (#355768)
This commit is contained in:
commit
f304923acb
2 changed files with 9 additions and 6 deletions
|
@ -11,17 +11,17 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "gpauth";
|
pname = "gpauth";
|
||||||
version = "2.3.7";
|
version = "2.3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yuezk";
|
owner = "yuezk";
|
||||||
repo = "GlobalProtect-openconnect";
|
repo = "GlobalProtect-openconnect";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-Zr888II65bUjrbStZfD0AYCXKY6VdKVJHQhbKwaY3is=";
|
hash = "sha256-s+uCpNrwQvdIINLSIbtcCCBg469J2xtlyiwDYqtXrQs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildAndTestSubdir = "apps/gpauth";
|
buildAndTestSubdir = "apps/gpauth";
|
||||||
cargoHash = "sha256-AuYw8CC0bMJzIJJQXhcQajQ4SACz4aKv6rG4HMq7U18=";
|
cargoHash = "sha256-QHqPVsMPKgAhhZwah3g1jqidl3UnvvKZnM4r1coUHSs=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
perl
|
perl
|
||||||
|
@ -45,6 +45,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/${src.owner}/${src.repo}";
|
homepage = "https://github.com/${src.owner}/${src.repo}";
|
||||||
license = with licenses; [ gpl3Only ];
|
license = with licenses; [ gpl3Only ];
|
||||||
maintainers = with maintainers; [ binary-eater ];
|
maintainers = with maintainers; [
|
||||||
|
binary-eater
|
||||||
|
m1dugh
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
inherit (gpauth) version src meta;
|
inherit (gpauth) version src meta;
|
||||||
|
|
||||||
buildAndTestSubdir = "apps/gpclient";
|
buildAndTestSubdir = "apps/gpclient";
|
||||||
cargoHash = "sha256-aJYFBvVrj1n2+9WLLBH5WTRRzTle19LsdJ2DielJYik=";
|
cargoHash = "sha256-lKfcWKOxpXEB28JajypOdyJNxLIAI8udMlaEo+6pecQ=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
perl
|
perl
|
||||||
|
@ -47,6 +47,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
substituteInPlace $out/share/applications/gpgui.desktop \
|
substituteInPlace $out/share/applications/gpgui.desktop \
|
||||||
--replace-fail /usr/bin/gpclient $out/bin/gpclient
|
--replace-fail /usr/bin/gpclient gpclient
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue