2009-08-05 22:29:36 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, dbus, glib, libusb, alsaLib}:
|
|
|
|
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bluez-4.47";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/bluetooth/${name}.tar.gz";
|
|
|
|
sha256 = "0xiv26q1cgddby90pvc7f36xh6ky73c2w8gfmc4wgc1nd3dbf2w3";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [pkgconfig dbus.libs glib libusb alsaLib];
|
|
|
|
|
2009-08-10 20:24:20 +02:00
|
|
|
configureFlags = "--localstatedir=/var";
|
|
|
|
|
|
|
|
# Work around `make install' trying to create /var/lib/bluetooth.
|
|
|
|
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";
|
|
|
|
|
2009-08-05 22:29:36 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.bluez.org/;
|
|
|
|
description = "Bluetooth support for Linux";
|
|
|
|
};
|
|
|
|
}
|