Add modemmanager
svn path=/nixpkgs/trunk/; revision=31263
This commit is contained in:
parent
fb0d088b33
commit
b3709689db
@ -1,6 +1,6 @@
|
||||
{ fetchurl }:
|
||||
|
||||
{ project, major, minor, patchlevel, extension ? "bz2", sha256 }:
|
||||
{ project, major, minor, patchlevel ? null, extension ? "bz2", sha256 }:
|
||||
|
||||
let
|
||||
baseVersion = "${major}.${minor}";
|
||||
|
23
pkgs/tools/networking/modemmanager/default.nix
Normal file
23
pkgs/tools/networking/modemmanager/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user