2010-06-10 13:47:58 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus, glib, libusb, alsaLib }:
|
|
|
|
|
2009-08-05 21:29:36 +01:00
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-07-23 15:57:28 +01:00
|
|
|
name = "bluez-4.69";
|
2009-08-05 21:29:36 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/bluetooth/${name}.tar.gz";
|
2010-07-23 15:57:28 +01:00
|
|
|
sha256 = "1h4fp6l1sflc0l5vg90hzvgldlwv7rqc4cbn2z6axmxv969pmrhh";
|
2009-08-05 21:29:36 +01:00
|
|
|
};
|
|
|
|
|
2010-06-10 13:47:58 +01:00
|
|
|
buildInputs = [ pkgconfig dbus.libs glib libusb alsaLib ];
|
2009-08-05 21:29:36 +01:00
|
|
|
|
2009-08-10 19:24:20 +01:00
|
|
|
configureFlags = "--localstatedir=/var";
|
|
|
|
|
|
|
|
# Work around `make install' trying to create /var/lib/bluetooth.
|
|
|
|
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";
|
|
|
|
|
2009-08-05 21:29:36 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.bluez.org/;
|
|
|
|
description = "Bluetooth support for Linux";
|
|
|
|
};
|
|
|
|
}
|