3
0
Fork 0
forked from mirrors/nixpkgs

libmbim: 1.16.2 -> 1.18.0

This commit is contained in:
worldofpeace 2019-03-15 07:20:27 -04:00
parent c0f08b80a2
commit 005c3cffc1

View file

@ -1,24 +1,35 @@
{ stdenv, fetchurl, pkgconfig, glib, python, udev, libgudev }:
{ stdenv, fetchurl, pkgconfig, glib, python3, systemd, libgudev }:
stdenv.mkDerivation rec {
name = "libmbim-1.16.2";
pname = "libmbim";
version = "1.18.0";
src = fetchurl {
url = "https://www.freedesktop.org/software/libmbim/${name}.tar.xz";
sha256 = "0qmjvjbgs9m8qsaiq5arikzglgaas9hh1968bi7sy3905kp4yjgb";
url = "https://www.freedesktop.org/software/libmbim/${pname}-${version}.tar.xz";
sha256 = "10mjjy860aakfd3h1yaj9l1jw816amrpwmyqlx37j21xv0l03x3c";
};
outputs = [ "out" "dev" "man" ];
preConfigure = ''
patchShebangs .
'';
configureFlags = [
"--with-udev-base-dir=${placeholder ''out''}/lib/udev"
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib udev libgudev python ];
nativeBuildInputs = [
pkgconfig
python3
];
buildInputs = [
glib
libgudev
systemd
];
doCheck = true;
meta = with stdenv.lib; {
homepage = http://www.freedesktop.org/software/libmbim/;
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;