nixpkgs/pkgs/development/libraries/libmbim/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

28 lines
797 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, python, udev, libgudev }:
stdenv.mkDerivation rec {
name = "libmbim-1.14.0";
src = fetchurl {
url = "https://www.freedesktop.org/software/libmbim/${name}.tar.xz";
sha256 = "0nxb4x8l092xckk4dy84cn5qhviif8akzy0miypapjqqbalm53fa";
};
outputs = [ "out" "dev" "man" ];
preConfigure = ''
patchShebangs .
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib udev libgudev python ];
meta = with stdenv.lib; {
homepage = http://www.freedesktop.org/software/libmbim/;
description = "Library for 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 ];
};
}