mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
af88789507
svn path=/nixpkgs/trunk/; revision=17473
25 lines
633 B
Nix
25 lines
633 B
Nix
{stdenv, fetchurl, pkgconfig, dbus, glib, libusb, alsaLib}:
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bluez-4.54";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/bluetooth/${name}.tar.gz";
|
|
sha256 = "1ykhyin06gzim4496sgr89x2yaqh4nrwmnfzrp20kiqfslw6fzlp";
|
|
};
|
|
|
|
buildInputs = [pkgconfig dbus.libs glib libusb alsaLib];
|
|
|
|
configureFlags = "--localstatedir=/var";
|
|
|
|
# Work around `make install' trying to create /var/lib/bluetooth.
|
|
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";
|
|
|
|
meta = {
|
|
homepage = http://www.bluez.org/;
|
|
description = "Bluetooth support for Linux";
|
|
};
|
|
}
|