Merge pull request #127183 from mweinelt/bluez

This commit is contained in:
Martin Weinelt 2021-07-10 21:43:42 +02:00 committed by GitHub
commit 9488ed9685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,9 +3,11 @@
, fetchurl
, alsa-lib
, dbus
, ell
, glib
, json_c
, libical
, docutils
, pkg-config
, python3
, readline
@ -19,16 +21,17 @@
];
in stdenv.mkDerivation rec {
pname = "bluez";
version = "5.58";
version = "5.59";
src = fetchurl {
url = "mirror://kernel/linux/bluetooth/${pname}-${version}.tar.xz";
sha256 = "1wgiv8cqya6n1w5fz24cb8q401bhn5aa6s7g95l26rzblmsmw1n8";
sha256 = "05kk8zdh3msf5j88jbai8m877rvya6fpkzhicfhv5gyhhsrrasq4";
};
buildInputs = [
alsa-lib
dbus
ell
glib
json_c
libical
@ -38,6 +41,7 @@ in stdenv.mkDerivation rec {
];
nativeBuildInputs = [
docutils
pkg-config
python3.pkgs.wrapPython
];
@ -55,6 +59,7 @@ in stdenv.mkDerivation rec {
"--enable-library"
"--enable-cups"
"--enable-pie"
"--enable-external-ell"
"--with-dbusconfdir=${placeholder "out"}/share"
"--with-dbussystembusdir=${placeholder "out"}/share/dbus-1/system-services"
"--with-dbussessionbusdir=${placeholder "out"}/share/dbus-1/services"
@ -67,7 +72,6 @@ in stdenv.mkDerivation rec {
"--enable-nfc"
"--enable-sap"
"--enable-sixaxis"
"--enable-wiimote"
];
# Work around `make install' trying to create /var/lib/bluetooth.