3
0
Fork 0
forked from mirrors/nixpkgs

networkmanager-openvpn: 1.8.4 → 1.8.6

This commit is contained in:
Jan Tojnar 2018-10-05 00:40:30 +02:00
parent a1177832af
commit 959435e835
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,15 +1,15 @@
{ stdenv, fetchurl, substituteAll, openvpn, intltool, libxml2, pkgconfig, networkmanager, libsecret
{ stdenv, fetchurl, substituteAll, openvpn, intltool, libxml2, pkgconfig, file, networkmanager, libsecret
, withGnome ? true, gnome3, kmod }:
let
pname = "NetworkManager-openvpn";
version = "1.8.4";
version = "1.8.6";
in stdenv.mkDerivation rec {
name = "${pname}${if withGnome then "-gnome" else ""}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0gyrv46h9k17qym48qacq4zpxbap6hi17shn921824zm98m2bdvr";
sha256 = "1ksij9438f2lrwkg287qjlfaxja6jgmqxqap96585r3nf5zj69ch";
};
patches = [
@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ openvpn networkmanager ]
++ stdenv.lib.optionals withGnome [ gnome3.gtk libsecret gnome3.networkmanagerapplet ];
nativeBuildInputs = [ intltool pkgconfig libxml2 ];
nativeBuildInputs = [ intltool pkgconfig file libxml2 ];
configureFlags = [
"--without-libnm-glib"