mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
24bfb5ba07
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libqmi/versions
38 lines
785 B
Nix
38 lines
785 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, python3, libgudev, libmbim }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libqmi";
|
|
version = "1.24.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
|
|
sha256 = "0yccw97pqn8afy96k5ssk7qi6r3wjshcnxk14k77qikkqa89zdmf";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|