From 5fd7590140ba7247a5fe97ae28fb0509c60b1731 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Wed, 14 Sep 2011 15:50:14 +0000 Subject: [PATCH] Add NetworkManager-pptp svn path=/nixpkgs/trunk/; revision=29271 --- pkgs/tools/networking/network-manager/pptp.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/networking/network-manager/pptp.nix diff --git a/pkgs/tools/networking/network-manager/pptp.nix b/pkgs/tools/networking/network-manager/pptp.nix new file mode 100644 index 000000000000..dbb66a43d380 --- /dev/null +++ b/pkgs/tools/networking/network-manager/pptp.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, networkmanager, pptp, ppp, xz, intltool, pkgconfig }: + +let + pn = "networkmanager-pptp"; + gnome_pn = "NetworkManager-pptp"; + major = "0.9"; + version = "0.9.0"; + src = fetchurl { + url = "mirror://gnome/sources/${gnome_pn}/${major}/${gnome_pn}-${version}.tar.xz"; + sha256 = "1mfbavcnc871sxkisisnic472am0qmkgw7caj0b86sdir2q83nlp"; + }; +in + +stdenv.mkDerivation rec { + name = "${pn}-${version}"; + + inherit src; + + buildInputs = [ networkmanager pptp ppp ]; + + buildNativeInputs = [ xz intltool pkgconfig ]; + + configureFlags = "--without-gnome --disable-nls"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6fc2e70f38a6..b42ce32ce294 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1026,6 +1026,8 @@ let networkmanager = callPackage ../tools/networking/network-manager { }; + networkmanager_pptp = callPackage ../tools/networking/network-manager/pptp.nix { }; + networkmanagerapplet = newScope gnome ../tools/networking/network-manager-applet { }; nilfs_utils = callPackage ../tools/filesystems/nilfs-utils {}; -- 2.11.4.GIT