diff --git a/pkgs/by-name/gp/gpauth/package.nix b/pkgs/by-name/gp/gpauth/package.nix index ccefe5e53e4c..a78cddb2f7fe 100644 --- a/pkgs/by-name/gp/gpauth/package.nix +++ b/pkgs/by-name/gp/gpauth/package.nix @@ -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; }; }