24 stdenv.mkDerivation rec {
25 pname = "NetworkManager-openconnect";
29 url = "mirror://gnome/sources/NetworkManager-openconnect/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
30 sha256 = "Xe2qeF2C2OI53dCCv6xSUMaR6WRGS+GAe2gnJjYzzcw=";
35 src = ./fix-paths.patch;
36 inherit kmod openconnect;
45 ] ++ lib.optionals withGnome [
61 "--with-gnome=${if withGnome then "yes" else "no"}"
62 "--with-gtk4=${if withGnome then "yes" else "no"}"
63 "--enable-absolute-paths"
67 updateScript = gnome.updateScript {
69 attrPath = "networkmanager-openconnect";
70 versionPolicy = "odd-unstable";
72 networkManagerPlugin = "VPN/nm-openconnect-service.name";
76 description = "NetworkManager’s OpenConnect plugin";
77 inherit (networkmanager.meta) maintainers platforms;
78 license = licenses.gpl2Plus;