summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2011-01-03 18:01:10 +0000
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2011-01-03 18:01:10 +0000
commit9b50ebd825fe85c6cc20217b0740d8b7ed780d6a (patch)
treee71c7a12fc6f5f0832ba774efe384aeda0c05dbf /pkgs/tools
parent06c543b11dfeb708963c6a63bf7f1ed79c5367b2 (diff)
downloadnixpkgs-9b50ebd825fe85c6cc20217b0740d8b7ed780d6a.tar
nixpkgs-9b50ebd825fe85c6cc20217b0740d8b7ed780d6a.tar.gz
nixpkgs-9b50ebd825fe85c6cc20217b0740d8b7ed780d6a.tar.bz2
nixpkgs-9b50ebd825fe85c6cc20217b0740d8b7ed780d6a.tar.lz
nixpkgs-9b50ebd825fe85c6cc20217b0740d8b7ed780d6a.tar.xz
nixpkgs-9b50ebd825fe85c6cc20217b0740d8b7ed780d6a.tar.zst
nixpkgs-9b50ebd825fe85c6cc20217b0740d8b7ed780d6a.zip
network-manager: packaged, maybe even works.
svn path=/nixpkgs/trunk/; revision=25367
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/network-manager/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/networking/network-manager/default.nix b/pkgs/tools/networking/network-manager/default.nix
new file mode 100644
index 00000000000..e68e4e4fb30
--- /dev/null
+++ b/pkgs/tools/networking/network-manager/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl, intltool, wirelesstools, pkgconfig, dbus, dbus_glib, udev, libnl1, libuuid, polkit, gnutls, ppp, dhcp, iptables }:
+stdenv.mkDerivation rec {
+
+  name = "network-manager-${version}";
+  version = "0.8.1";
+
+  src = fetchurl {
+    url = "http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.8/NetworkManager-${version}.tar.bz2";
+    sha256 = "1yhr1zc9p2dakvg6m33jgkf09r6f6bzly7kqqjcpim4r66z6y4nw";
+  };
+
+  configureFlags = [ "--with-distro=gentoo" "--with-dhclient=${dhcp}/sbin"
+    "--with-dhcpcd=${dhcp}/sbin" "--with-iptables=${iptables}/sbin/iptables"
+    "--with-crypto=gnutls" "--disable-more-warnings"
+    "--with-udev-dir=\${out}/lib/udev" ];
+
+  buildInputs = [ intltool wirelesstools pkgconfig dbus dbus_glib udev libnl1 libuuid polkit gnutls ppp ];
+
+  meta = with stdenv.lib; {
+    homepage = http://projects.gnome.org/NetworkManager/;
+    description = "Network configuration and management in an easy way. Desktop environment independent.";
+    license = licenses.gpl2Plus;
+    maintainers = [ maintainers.phreedom ];
+    platforms = platforms.linux;
+  };
+}
\ No newline at end of file