nixpkgs/pkgs/development/libraries/libmbim/default.nix

25 lines
702 B
Nix
Raw Normal View History

2014-02-08 19:16:34 +00:00
{ stdenv, fetchurl, pkgconfig, glib, python, udev }:
stdenv.mkDerivation rec {
2015-03-26 19:44:17 +00:00
name = "libmbim-1.12.2";
2014-02-08 19:16:34 +00:00
src = fetchurl {
url = "http://www.freedesktop.org/software/libmbim/${name}.tar.xz";
2015-03-26 19:44:17 +00:00
sha256 = "0abv0h9c3kbw4bq1b9270sg189jcjj3x3wa91bj836ynwg9m34wl";
2014-02-08 19:16:34 +00:00
};
preConfigure = ''
2015-03-26 19:44:17 +00:00
patchShebangs .
2014-02-08 19:16:34 +00:00
'';
2015-03-26 19:44:17 +00:00
buildInputs = [ pkgconfig glib udev python ];
2014-02-08 19:16:34 +00:00
meta = with stdenv.lib; {
2015-03-26 19:44:17 +00:00
homepage = http://www.freedesktop.org/software/libmbim/;
2014-02-08 19:16:34 +00:00
description = "talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
platforms = platforms.linux;
2015-03-26 19:44:17 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ wkennington ];
2014-02-08 19:16:34 +00:00
};
}