mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, buildPythonPackage
|
|
, webkitgtk
|
|
, wrapGAppsHook3
|
|
, glib-networking
|
|
, gobject-introspection
|
|
, openconnect
|
|
, pygobject3
|
|
, requests
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "gp-saml-gui";
|
|
version = "0.1+20230507-${lib.strings.substring 0 7 src.rev}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dlenski";
|
|
repo = "gp-saml-gui";
|
|
rev = "258f47cdc4a8ed57a1eef16667f6cad0d1cb49b1";
|
|
sha256 = "sha256-g10S8C32mnOymCmGNdM8gmGpYn5/ObMJK3g6amKtQmI=";
|
|
};
|
|
|
|
buildInputs = lib.optional stdenv.isLinux glib-networking;
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook3 gobject-introspection glib-networking ];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
pygobject3
|
|
openconnect
|
|
] ++ lib.optional stdenv.isLinux webkitgtk;
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(
|
|
--set WEBKIT_DISABLE_COMPOSITING_MODE "1"
|
|
)
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Interactively authenticate to GlobalProtect VPNs that require SAML";
|
|
mainProgram = "gp-saml-gui";
|
|
homepage = "https://github.com/dlenski/gp-saml-gui";
|
|
license = licenses.gpl3Only;
|
|
maintainers = [ maintainers.pallix ];
|
|
};
|
|
}
|