21 stdenv.mkDerivation rec {
22 pname = "NetworkManager-vpnc";
26 url = "mirror://gnome/sources/NetworkManager-vpnc/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
27 sha256 = "1l4xqlPI/cP95++EpNqpeaYFwj/THO/2R79+qqma+8w=";
32 src = ./fix-paths.patch;
47 ] ++ lib.optionals withGnome [
56 "--with-gnome=${if withGnome then "yes" else "no"}"
57 "--with-gtk4=${if withGnome then "yes" else "no"}"
58 "--enable-absolute-paths"
62 updateScript = gnome.updateScript {
64 attrPath = "networkmanager-vpnc";
65 versionPolicy = "odd-unstable";
67 networkManagerPlugin = "VPN/nm-vpnc-service.name";
71 description = "NetworkManager's VPNC plugin";
72 inherit (networkmanager.meta) maintainers platforms;
73 license = licenses.gpl2Plus;