nixpkgs/pkgs/development/libraries/libqmi/default.nix
Tor Hedin Brønner d5491d49b2 libqmi: 1.22.4 -> 1.22.6
fix build with glib 2.62
2019-09-30 19:39:47 +02:00

37 lines
785 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, python3, libgudev, libmbim }:
stdenv.mkDerivation rec {
pname = "libqmi";
version = "1.22.6";
src = fetchurl {
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
sha256 = "1pnma62kib6zbs4wr7h5g53v3p81jb8cvyvqcvaidb1hlfibwnvm";
};
outputs = [ "out" "dev" "devdoc" ];
configureFlags = [
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
];
nativeBuildInputs = [
pkgconfig
python3
];
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;
license = licenses.gpl2;
};
}