13 stdenv.mkDerivation rec {
14 pname = "globalprotect-openconnect";
18 url = "https://github.com/yuezk/GlobalProtect-openconnect/releases/download/v${version}/globalprotect-openconnect-${version}.tar.gz";
19 hash = "sha256-vhvVKESLbqHx3XumxbIWOXIreDkW3yONDMXMHxhjsvk=";
35 substituteInPlace GPService/gpservice.h \
36 --replace /usr/local/bin/openconnect ${openconnect}/bin/openconnect;
37 substituteInPlace GPService/CMakeLists.txt \
38 --replace /etc/gpservice $out/etc/gpservice;
42 description = "GlobalProtect VPN client (GUI) for Linux based on OpenConnect that supports SAML auth mode";
43 homepage = "https://github.com/yuezk/GlobalProtect-openconnect";
44 license = licenses.gpl3Only;
45 maintainers = [ maintainers.jerith666 ];
46 platforms = platforms.linux;