2014-02-08 19:16:34 +00:00
|
|
|
{ stdenv, fetchurl, udev, polkit, dbus_glib, ppp, intltool, pkgconfig, libmbim, libqmi }:
|
2012-01-04 09:05:22 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-02-08 19:16:34 +00:00
|
|
|
name = "ModemManager-0.7.991";
|
2012-01-04 09:05:22 +00:00
|
|
|
|
2014-02-08 19:16:34 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/ModemManager/0.7/${name}.tar.xz";
|
|
|
|
sha256 = "0p8shqsbgnsazim7s52ylxjk064cbx2n1vm1jgywr7i58hsd6n4y";
|
2012-01-04 09:05:22 +00:00
|
|
|
};
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
2012-01-04 09:05:22 +00:00
|
|
|
|
2014-02-08 19:16:34 +00:00
|
|
|
buildInputs = [ udev polkit dbus_glib ppp libmbim libqmi ];
|
2012-01-04 09:05:22 +00:00
|
|
|
|
2014-02-08 19:16:34 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-polkit"
|
|
|
|
"--with-udev-base-dir=$(out)/lib/udev"
|
|
|
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
|
|
|
];
|
2012-01-04 09:05:22 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "WWAN modem manager, part of NetworkManager";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2012-01-06 16:14:02 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-01-04 09:05:22 +00:00
|
|
|
};
|
|
|
|
}
|