2010-06-10 14:47:58 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus, glib, libusb, alsaLib }:
|
|
|
|
|
2009-08-05 22:29:36 +02:00
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-07-05 08:33:57 +02:00
|
|
|
name = "bluez-4.66";
|
2009-08-05 22:29:36 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/bluetooth/${name}.tar.gz";
|
2010-07-05 08:33:57 +02:00
|
|
|
sha256 = "19by1ay2lifczcn8b7wppm0fcnp33yzd1vzldrzz3cgh1nwcn8y2";
|
2009-08-05 22:29:36 +02:00
|
|
|
};
|
|
|
|
|
2010-06-10 14:47:58 +02:00
|
|
|
buildInputs = [ pkgconfig dbus.libs glib libusb alsaLib ];
|
2009-08-05 22:29:36 +02:00
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|