mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
libmbim: 1.6.0 -> 1.12.2
This commit is contained in:
parent
a12a63fc08
commit
e41037ae04
@ -1,23 +1,24 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, python, udev }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libmbim-1.6.0";
|
||||
name = "libmbim-1.12.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.freedesktop.org/software/libmbim/${name}.tar.xz";
|
||||
sha256 = "10mh1b8jfxg6y6nhr7swbi9wx4acjgvx1if7nhrw1ppd5apvvvz0";
|
||||
sha256 = "0abv0h9c3kbw4bq1b9270sg189jcjj3x3wa91bj836ynwg9m34wl";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
for f in build-aux/mbim-codegen/*; do
|
||||
substituteInPlace $f --replace "/usr/bin/env python" "${python}/bin/python"
|
||||
done
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
buildInputs = [ pkgconfig glib udev ];
|
||||
buildInputs = [ pkgconfig glib udev python ];
|
||||
|
||||
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";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user