2017-05-19 13:05:34 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, python, libgudev, libmbim }:
|
2014-02-08 19:15:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-21 18:53:58 +01:00
|
|
|
name = "libqmi-1.20.2";
|
2014-02-08 19:15:12 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-10-08 06:15:38 +01:00
|
|
|
url = "https://www.freedesktop.org/software/libqmi/${name}.tar.xz";
|
2018-08-21 18:53:58 +01:00
|
|
|
sha256 = "0i6aw8jyxv84d5x8lj2g9lb8xxf1dyad8n3q0kw164pyig55jd67";
|
2014-02-08 19:15:12 +00:00
|
|
|
};
|
|
|
|
|
2016-09-01 10:07:23 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-13 19:35:10 +01:00
|
|
|
|
2015-01-08 09:26:49 +00:00
|
|
|
preBuild = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib python libgudev libmbim ];
|
2017-05-19 13:05:34 +01:00
|
|
|
|
|
|
|
configureFlags = ["--enable-mbim-qmux" ];
|
2014-02-08 19:15:12 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-03-26 19:39:05 +00:00
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/libqmi/;
|
2014-02-08 19:15:12 +00:00
|
|
|
description = "Modem protocol helper library";
|
|
|
|
platforms = platforms.linux;
|
2015-03-26 19:39:05 +00:00
|
|
|
license = licenses.gpl2;
|
2014-02-08 19:15:12 +00:00
|
|
|
};
|
|
|
|
}
|