{gpclient,gpauth}: add darwin support (#452228)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user