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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libqmi";
|
pname = "libqmi";
|
||||||
version = "1.26.10";
|
version = "1.28.2";
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
|
|
||||||
sha256 = "sha256-fABD8GyHXlzx3jwMlMzH9bBYYry82eT7DV0UJ30dq1k=";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
configureFlags = [
|
src = fetchurl {
|
||||||
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
|
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
|
||||||
"--enable-introspection"
|
sha256 = "jIw+5xmHTSUpvOmzWwKP5DWzbwA5eaNg060JOESdt4M=";
|
||||||
];
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
python3
|
python3
|
||||||
|
gtk-doc
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_43
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
glib
|
||||||
libgudev
|
libgudev
|
||||||
libmbim
|
libmbim
|
||||||
|
libqrtr-glib
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
|
||||||
|
"--enable-gtk-doc"
|
||||||
|
"--enable-introspection"
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -35,7 +53,13 @@ stdenv.mkDerivation rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.freedesktop.org/wiki/Software/libqmi/";
|
homepage = "https://www.freedesktop.org/wiki/Software/libqmi/";
|
||||||
description = "Modem protocol helper library";
|
description = "Modem protocol helper library";
|
||||||
|
maintainers = teams.freedesktop.members;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.gpl2;
|
license = with licenses; [
|
||||||
|
# Library
|
||||||
|
lgpl2Plus
|
||||||
|
# Tools
|
||||||
|
gpl2Plus
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user