aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-12-13 22:35:12 +0800
committer宋文武 <iyzsong@gmail.com>2015-12-13 23:26:28 +0800
commitf3ad149057f1cb840566379838c99b1e420a3d3e (patch)
tree38e5190e9344bbaf13141821dcf509718bd42fc6 /gnu/packages
parentdf12f04a0ce7658fe13ca8ab104d094947b61280 (diff)
downloadpatches-f3ad149057f1cb840566379838c99b1e420a3d3e.tar
patches-f3ad149057f1cb840566379838c99b1e420a3d3e.tar.gz
gnu: Add libmbim.
* gnu/packages/freedesktop.scm (libmbim): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/freedesktop.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 3db7ff7835..e5c9e2df99 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -427,3 +427,34 @@ message bus.")
and manipulating user account information and an implementation of these
interfaces, based on the useradd, usermod and userdel commands.")
(license license:gpl3+)))
+
+(define-public libmbim
+ (package
+ (name "libmbim")
+ (version "1.12.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://www.freedesktop.org/software/" name "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0abv0h9c3kbw4bq1b9270sg189jcjj3x3wa91bj836ynwg9m34wl"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-mkenums
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)))
+ (propagated-inputs
+ `(("glib" ,glib))) ; required by mbim-glib.pc
+ (inputs
+ `(("libgudev" ,libgudev)))
+ (synopsis "Library to communicate with MBIM-powered modems")
+ (home-page "http://www.freedesktop.org/wiki/Software/libmbim/")
+ (description
+ "Libmbim is a GLib-based library for talking to WWAN modems and devices
+which speak the Mobile Interface Broadband Model (MBIM) protocol.")
+ (license
+ ;; The libmbim-glib library is released under the LGPLv2+ license.
+ ;; The mbimcli tool is released under the GPLv2+ license.
+ (list license:lgpl2.0+ license:gpl2+))))