1{ stdenv, fetchurl, pkgconfig, glib, python, udev, libgudev }:
2
3stdenv.mkDerivation rec {
4 name = "libmbim-1.14.2";
5
6 src = fetchurl {
7 url = "https://www.freedesktop.org/software/libmbim/${name}.tar.xz";
8 sha256 = "1krirl9881dnx7l29zhvagk2qlhi26vpvkzdifjklhrjhimzxji2";
9 };
10
11 outputs = [ "out" "dev" "man" ];
12
13 preConfigure = ''
14 patchShebangs .
15 '';
16
17 nativeBuildInputs = [ pkgconfig ];
18 buildInputs = [ glib udev libgudev python ];
19
20 meta = with stdenv.lib; {
21 homepage = http://www.freedesktop.org/software/libmbim/;
22 description = "Library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
23 platforms = platforms.linux;
24 license = licenses.gpl2;
25 maintainers = with maintainers; [ wkennington ];
26 };
27}