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 { stdenv.mkDerivation rec {
name = "libmbim-1.16.2"; pname = "libmbim";
version = "1.18.0";
src = fetchurl { src = fetchurl {
url = "https://www.freedesktop.org/software/libmbim/${name}.tar.xz"; url = "https://www.freedesktop.org/software/libmbim/${pname}-${version}.tar.xz";
sha256 = "0qmjvjbgs9m8qsaiq5arikzglgaas9hh1968bi7sy3905kp4yjgb"; sha256 = "10mjjy860aakfd3h1yaj9l1jw816amrpwmyqlx37j21xv0l03x3c";
}; };
outputs = [ "out" "dev" "man" ]; outputs = [ "out" "dev" "man" ];
preConfigure = '' configureFlags = [
patchShebangs . "--with-udev-base-dir=${placeholder ''out''}/lib/udev"
''; ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [
buildInputs = [ glib udev libgudev python ]; pkgconfig
python3
];
buildInputs = [
glib
libgudev
systemd
];
doCheck = true;
meta = with stdenv.lib; { 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"; description = "Library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl2; license = licenses.gpl2;