aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-12-13 22:36:30 +0800
committer宋文武 <iyzsong@gmail.com>2015-12-13 23:26:28 +0800
commit1509a1dc82839814828bb5883803c6f58df732c4 (patch)
treecba4b0e054361ee5e89210ff5a1276d692ad2e43 /gnu
parent5302c5ffd100e7b58fe41d698eb9a36f328ef8bb (diff)
downloadpatches-1509a1dc82839814828bb5883803c6f58df732c4.tar
patches-1509a1dc82839814828bb5883803c6f58df732c4.tar.gz
gnu: Add modem-manager.
* gnu/packages/freedesktop.scm (modem-manager): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/freedesktop.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 060a955e21..b4e7164bfa 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -487,3 +487,44 @@ which speak the Qualcomm MSM Interface (QMI) protocol.")
;; The libqmi-glib library is released under the LGPLv2+ license.
;; The qmicli tool is released under the GPLv2+ license.
(list license:lgpl2.0+ license:gpl2+))))
+
+(define-public modem-manager
+ (package
+ (name "modem-manager")
+ (version "1.4.12")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://www.freedesktop.org/software/ModemManager/"
+ "ModemManager-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1cvhpkbdch9a77sdir0wcks45m2zlvq1sna2ly2v4lx9fm9h7xby"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:configure-flags
+ `(,(string-append "--with-udev-base-dir=" %output "/lib/udev"))))
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-mkenums
+ ("gobject-introspection" ,gobject-introspection)
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)
+ ;; For testing.
+ ("dbus" ,dbus)))
+ (propagated-inputs
+ `(("glib" ,glib))) ; required by mm-glib.pc
+ (inputs
+ `(("libgudev" ,libgudev)
+ ("libmbim" ,libmbim)
+ ("libqmi" ,libqmi)
+ ("polkit" ,polkit)))
+ (synopsis "Mobile broadband modems manager")
+ (home-page "http://www.freedesktop.org/wiki/Software/ModemManager/")
+ (description
+ "ModemManager is a DBus-activated daemon which controls mobile
+broadband (2G/3G/4G) devices and connections. Whether built-in devices, USB
+dongles, bluetooth-paired telephones, or professional RS232/USB devices with
+external power supplies, ModemManager is able to prepare and configure the
+modems and setup connections with them.")
+ (license license:gpl2+)))