nixpkgs-suyu/pkgs/development/libraries/libqmi/default.nix

29 lines
740 B
Nix
Raw Normal View History

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