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