3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libqmi/default.nix

29 lines
714 B
Nix
Raw Normal View History

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