Add modemmanager

svn path=/nixpkgs/trunk/; revision=31263
This commit is contained in:
Yury G. Kudryashov 2012-01-04 09:05:22 +00:00
parent fb0d088b33
commit b3709689db
3 changed files with 26 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ fetchurl }:
{ project, major, minor, patchlevel, extension ? "bz2", sha256 }:
{ project, major, minor, patchlevel ? null, extension ? "bz2", sha256 }:
let
baseVersion = "${major}.${minor}";

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl_gnome, udev, polkit, dbus_glib, ppp, intltool, pkgconfig, xz }:
stdenv.mkDerivation rec {
name = src.pkgname;
src = fetchurl_gnome {
project = "ModemManager";
major = "0"; minor = "5"; extension = "xz";
sha256 = "0zvwrni4l21d856nq28khigrhwgrq5cc7nh45zidwjj8q7bsxiz7";
};
buildNativeInputs = [ xz intltool pkgconfig ];
buildInputs = [ udev polkit dbus_glib ppp ];
configureFlags = "--with-polkit --with-udev-base-dir=$(out)/lib/udev";
meta = {
description = "WWAN modem manager, part of NetworkManager";
maintainers = [ stdenv.lib.maintainers.urkud ];
platforms = [ stdenv.lib.platforms.linux ];
};
}

View File

@ -988,6 +988,8 @@ let
mldonkey = callPackage ../applications/networking/p2p/mldonkey { };
modemmanager = callPackage ../tools/networking/modemmanager {};
monit = builderDefsPackage ../tools/system/monit {
inherit openssl flex bison;
};