8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
39 lines
821 B
Nix
39 lines
821 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, python3, libgudev, libmbim }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libqmi";
|
|
version = "1.24.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
|
|
sha256 = "1jfq8jdjc9z5c0g7m377svdlniwkr4k9hs7s8fsb5rvdq5xja98k";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
configureFlags = [
|
|
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
python3
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
libgudev
|
|
libmbim
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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;
|
|
};
|
|
}
|