libqmi: 1.26.10 -> 1.28.2
New dependency on QRTR. Also cleaned up the expression a bit. - https://lists.freedesktop.org/archives/libqmi-devel/2021-February/003552.html - https://lists.freedesktop.org/archives/libqmi-devel/2021-March/003554.html
This commit is contained in:
parent
08564e2bd3
commit
53bf5c322d
@ -1,31 +1,49 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, gobject-introspection, glib, python3, libgudev, libmbim }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, gobject-introspection
|
||||
, gtk-doc
|
||||
, docbook-xsl-nons
|
||||
, docbook_xml_dtd_43
|
||||
, glib
|
||||
, python3
|
||||
, libgudev
|
||||
, libmbim
|
||||
, libqrtr-glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libqmi";
|
||||
version = "1.26.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-fABD8GyHXlzx3jwMlMzH9bBYYry82eT7DV0UJ30dq1k=";
|
||||
};
|
||||
version = "1.28.2";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
|
||||
"--enable-introspection"
|
||||
];
|
||||
src = fetchurl {
|
||||
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
|
||||
sha256 = "jIw+5xmHTSUpvOmzWwKP5DWzbwA5eaNg060JOESdt4M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
python3
|
||||
gtk-doc
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_43
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
libgudev
|
||||
libmbim
|
||||
libqrtr-glib
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
|
||||
"--enable-gtk-doc"
|
||||
"--enable-introspection"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -35,7 +53,13 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/libqmi/";
|
||||
description = "Modem protocol helper library";
|
||||
maintainers = teams.freedesktop.members;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
license = with licenses; [
|
||||
# Library
|
||||
lgpl2Plus
|
||||
# Tools
|
||||
gpl2Plus
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user