libmbim: 1.6.0 -> 1.12.2

This commit is contained in:
William A. Kennington III 2015-03-26 12:44:17 -07:00
parent a12a63fc08
commit e41037ae04

View File

@ -1,23 +1,24 @@
{ stdenv, fetchurl, pkgconfig, glib, python, udev }: { stdenv, fetchurl, pkgconfig, glib, python, udev }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libmbim-1.6.0"; name = "libmbim-1.12.2";
src = fetchurl { src = fetchurl {
url = "http://www.freedesktop.org/software/libmbim/${name}.tar.xz"; url = "http://www.freedesktop.org/software/libmbim/${name}.tar.xz";
sha256 = "10mh1b8jfxg6y6nhr7swbi9wx4acjgvx1if7nhrw1ppd5apvvvz0"; sha256 = "0abv0h9c3kbw4bq1b9270sg189jcjj3x3wa91bj836ynwg9m34wl";
}; };
preConfigure = '' preConfigure = ''
for f in build-aux/mbim-codegen/*; do patchShebangs .
substituteInPlace $f --replace "/usr/bin/env python" "${python}/bin/python"
done
''; '';
buildInputs = [ pkgconfig glib udev ]; buildInputs = [ pkgconfig glib udev python ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://www.freedesktop.org/software/libmbim/;
description = "talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol"; description = "talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl2;
maintainers = with maintainers; [ wkennington ];
}; };
} }