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";
2020-03-06 22:09:14 +01:00
version = "1.24.6";
src = fetchurl {
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
2020-03-06 22:09:14 +01:00
sha256 = "1jfq8jdjc9z5c0g7m377svdlniwkr4k9hs7s8fsb5rvdq5xja98k";
};
outputs = [ "out" "dev" "devdoc" ];
2015-10-13 20:35:10 +02:00
configureFlags = [
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
];
nativeBuildInputs = [
pkgconfig
python3
];
2017-05-19 14:05:34 +02:00
buildInputs = [
glib
libgudev
libmbim
];
doCheck = true;
meta = with stdenv.lib; {
2020-02-23 23:54:01 +01:00
homepage = "https://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;
};
}