forked from mirrors/nixpkgs
d45a6a3e0d
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0/bin/mbim-network -h` got 0 exit code - ran `/nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0/bin/mbim-network --help` got 0 exit code - ran `/nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0/bin/mbim-network --version` and found version 1.16.0 - ran `/nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0/bin/mbimcli -h` got 0 exit code - ran `/nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0/bin/mbimcli --help` got 0 exit code - ran `/nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0/bin/mbimcli -V` and found version 1.16.0 - ran `/nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0/bin/mbimcli --version` and found version 1.16.0 - found 1.16.0 with grep in /nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0 - found 1.16.0 in filename of file in /nix/store/qp1xvvasv2abihckhlv8ygl6fgdgqdpw-libmbim-1.16.0 cc "@wkennington"
28 lines
797 B
Nix
28 lines
797 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, python, udev, libgudev }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libmbim-1.16.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.freedesktop.org/software/libmbim/${name}.tar.xz";
|
|
sha256 = "1hpsjc7bzmakzvj8z9fffvqknc38fa8ridpmklq46jyxxnz51jn8";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|