Commit dc7662a0 authored by K900's avatar K900
Browse files

snx-rs: clean up

Literally none of this is actually necessary.
parent 3f200cf2
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
@@ -2,19 +2,11 @@
  fetchFromGitHub,
  glib,
  gtk4,
  iproute2,
  kdePackages,
  lib,
  libappindicator,
  libappindicator-gtk2,
  libappindicator-gtk3,
  libayatana-appindicator,
  libsoup_3,
  openssl,
  pkg-config,
  qt6,
  rustPlatform,
  webkitgtk_4_1,
  wrapGAppsHook4,
  graphene,
  nix-update-script,
@@ -34,9 +26,7 @@ rustPlatform.buildRustPackage rec {
  passthru.updateScript = nix-update-script { };

  nativeBuildInputs = [
    iproute2
    pkg-config
    qt6.wrapQtAppsHook
    wrapGAppsHook4
  ];

@@ -44,13 +34,7 @@ rustPlatform.buildRustPackage rec {
    glib
    gtk4
    kdePackages.kstatusnotifieritem
    libappindicator
    libappindicator-gtk2
    libappindicator-gtk3
    libayatana-appindicator
    libsoup_3
    openssl
    webkitgtk_4_1
    graphene
  ];

@@ -70,12 +54,6 @@ rustPlatform.buildRustPackage rec {
  versionCheckProgram = "${placeholder "out"}/bin/snx-rs";
  versionCheckProgramArg = "--version";

  preFixup = ''
    qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
  '';

  dontWrapGApps = true;

  meta = {
    description = "Open source Linux client for Checkpoint VPN tunnels";
    homepage = "https://github.com/ancwrd1/snx-rs";