network-manager: packaged, maybe even works.

svn path=/nixpkgs/trunk/; revision=25367
This commit is contained in:
Evgeny Egorochkin 2011-01-03 18:01:10 +00:00
parent 06c543b11d
commit 9b50ebd825
2 changed files with 28 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -938,6 +938,8 @@ let
netselect = callPackage ../tools/networking/netselect { };
networkmanager = callPackage ../tools/networking/network-manager { };
nilfs_utils = callPackage ../tools/filesystems/nilfs-utils {};
nmap = callPackage ../tools/security/nmap {