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-23 16:57:28 +02:00
|
|
|
name = "bluez-4.69";
|
2009-08-05 22:29:36 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/bluetooth/${name}.tar.gz";
|
2010-07-23 16:57:28 +02:00
|
|
|
sha256 = "1h4fp6l1sflc0l5vg90hzvgldlwv7rqc4cbn2z6axmxv969pmrhh";
|
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";
|
|
|
|
};
|
|
|
|
}
|