21 stdenv.mkDerivation rec {
22 pname = "NetworkManager-fortisslvpn";
24 name = "${pname}${lib.optionalString withGnome "-gnome"}-${version}";
27 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28 sha256 = "sFXiY0m1FrI1hXmKs+9XtDawFIAOkqiscyz8jnbF2vo=";
33 src = ./fix-paths.patch;
49 ] ++ lib.optionals withGnome [
58 "--with-gnome=${if withGnome then "yes" else "no"}"
59 "--with-gtk4=${if withGnome then "yes" else "no"}"
60 "--localstatedir=/var"
61 "--enable-absolute-paths"
65 # the installer only creates an empty directory in localstatedir, so
71 updateScript = gnome.updateScript {
73 attrPath = "networkmanager-fortisslvpn";
74 versionPolicy = "odd-unstable";
76 networkManagerPlugin = "VPN/nm-fortisslvpn-service.name";
80 description = "NetworkManager’s FortiSSL plugin";
81 inherit (networkmanager.meta) maintainers platforms;
82 license = licenses.gpl2;