2015-09-08 18:21:18 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, python, udev, libgudev }:
|
2014-02-08 19:16:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 04:44:26 +00:00
|
|
|
name = "libmbim-1.16.0";
|
2014-02-08 19:16:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-10-08 05:15:11 +00:00
|
|
|
url = "https://www.freedesktop.org/software/libmbim/${name}.tar.xz";
|
2018-02-27 04:44:26 +00:00
|
|
|
sha256 = "1hpsjc7bzmakzvj8z9fffvqknc38fa8ridpmklq46jyxxnz51jn8";
|
2014-02-08 19:16:34 +00:00
|
|
|
};
|
|
|
|
|
2017-07-11 09:14:14 +00:00
|
|
|
outputs = [ "out" "dev" "man" ];
|
2015-10-13 18:29:54 +00:00
|
|
|
|
2014-02-08 19:16:34 +00:00
|
|
|
preConfigure = ''
|
2015-03-26 19:44:17 +00:00
|
|
|
patchShebangs .
|
2014-02-08 19:16:34 +00:00
|
|
|
'';
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib udev libgudev python ];
|
2014-02-08 19:16:34 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-03-26 19:44:17 +00:00
|
|
|
homepage = http://www.freedesktop.org/software/libmbim/;
|
2015-09-08 18:21:18 +00:00
|
|
|
description = "Library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
|
2014-02-08 19:16:34 +00:00
|
|
|
platforms = platforms.linux;
|
2015-03-26 19:44:17 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
2014-02-08 19:16:34 +00:00
|
|
|
};
|
|
|
|
}
|