mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 09:53:17 +00:00
e1b3aacd8d
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libmbim/versions
38 lines
869 B
Nix
38 lines
869 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, python3, systemd, libgudev }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libmbim";
|
|
version = "1.18.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.freedesktop.org/software/libmbim/${pname}-${version}.tar.xz";
|
|
sha256 = "0s4jsfsydp2vykv7lnimalp9i680aas1qcx7zdpjiic64b5g48vp";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "man" ];
|
|
|
|
configureFlags = [
|
|
"--with-udev-base-dir=${placeholder ''out''}/lib/udev"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
python3
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
libgudev
|
|
systemd
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://www.freedesktop.org/wiki/Software/libmbim/;
|
|
description = "Library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|