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