{gpclient,gpauth}: add darwin support (#452228)

This commit is contained in:
Weijia Wang
2025-10-17 21:46:55 +00:00
committed by GitHub
+7 -7
View File
@@ -6,6 +6,7 @@
pkg-config,
perl,
webkitgtk_4_1,
stdenv,
}:
rustPlatform.buildRustPackage rec {
@@ -29,10 +30,12 @@ rustPlatform.buildRustPackage rec {
];
buildInputs = [
openssl
]
++ lib.optionals stdenv.hostPlatform.isLinux [
webkitgtk_4_1
];
meta = with lib; {
meta = {
changelog = "https://github.com/${src.owner}/${src.repo}/blob/${src.rev}/changelog.md";
description = "CLI for GlobalProtect VPN, based on OpenConnect, supports the SSO authentication method";
longDescription = ''
@@ -43,14 +46,11 @@ rustPlatform.buildRustPackage rec {
the same features as the GUI version.
'';
homepage = "https://github.com/${src.owner}/${src.repo}";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
binary-eater
m1dugh
];
platforms = [
"aarch64-linux"
"x86_64-linux"
];
platforms = with lib.platforms; linux ++ darwin;
};
}