2014-02-08 20:15:12 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-03-26 20:39:05 +01:00
|
|
|
name = "libqmi-1.12.6";
|
2014-02-08 20:15:12 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.freedesktop.org/software/libqmi/${name}.tar.xz";
|
2015-03-26 20:39:05 +01:00
|
|
|
sha256 = "101ppan2q1h4pyp2zbn9b8sdwy2c7fk9rp91yykxz3afrvzbymq8";
|
2014-02-08 20:15:12 +01:00
|
|
|
};
|
|
|
|
|
2015-10-28 18:56:00 +01:00
|
|
|
outputs = [ "dev" "out" "docdev" ];
|
2015-10-13 20:35:10 +02:00
|
|
|
|
2015-01-08 10:26:49 +01:00
|
|
|
preBuild = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2014-02-08 20:15:12 +01:00
|
|
|
buildInputs = [ pkgconfig glib python ];
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|