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

38 lines
787 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, python3, libgudev, libmbim }:
stdenv.mkDerivation rec {
pname = "libqmi";
version = "1.22.2";
src = fetchurl {
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
sha256 = "09w20dsgr16bgbqw5ds7r6j2s6ihwyalh9zpbjhcn7cvm0afbwgi";
};
outputs = [ "out" "dev" "devdoc" ];
2015-10-13 19:35:10 +01:00
configureFlags = [
"--with-udev-base-dir=${placeholder ''out''}/lib/udev"
];
nativeBuildInputs = [
pkgconfig
python3
];
2017-05-19 13:05:34 +01:00
buildInputs = [
glib
libgudev
libmbim
];
doCheck = true;
meta = with stdenv.lib; {
homepage = https://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;
};
}