Unverified Commit d14869b5 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

parents c231242f 7bf963ef
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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;
  };
}