mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
libmbim: 1.16.2 -> 1.18.0
This commit is contained in:
parent
c0f08b80a2
commit
005c3cffc1
@ -1,24 +1,35 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, python, udev, libgudev }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, python3, systemd, libgudev }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libmbim-1.16.2";
|
||||
pname = "libmbim";
|
||||
version = "1.18.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.freedesktop.org/software/libmbim/${name}.tar.xz";
|
||||
sha256 = "0qmjvjbgs9m8qsaiq5arikzglgaas9hh1968bi7sy3905kp4yjgb";
|
||||
url = "https://www.freedesktop.org/software/libmbim/${pname}-${version}.tar.xz";
|
||||
sha256 = "10mjjy860aakfd3h1yaj9l1jw816amrpwmyqlx37j21xv0l03x3c";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
configureFlags = [
|
||||
"--with-udev-base-dir=${placeholder ''out''}/lib/udev"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ glib udev libgudev python ];
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
libgudev
|
||||
systemd
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.freedesktop.org/software/libmbim/;
|
||||
homepage = https://www.freedesktop.org/wiki/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;
|
||||
|
Loading…
Reference in New Issue
Block a user