From 9c8205b7c8380c3e4a562aa25a53de289c093199 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 7 Jul 2011 17:23:05 +0000 Subject: [PATCH] * Bluez updated to 4.95. svn path=/nixpkgs/branches/kde-4.7/; revision=27628 --- pkgs/os-specific/linux/bluez/default.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/bluez/default.nix b/pkgs/os-specific/linux/bluez/default.nix index be21c759e50..c0aec5a7b56 100644 --- a/pkgs/os-specific/linux/bluez/default.nix +++ b/pkgs/os-specific/linux/bluez/default.nix @@ -9,21 +9,30 @@ let in stdenv.mkDerivation rec { - name = "bluez-4.90"; + name = "bluez-4.95"; src = fetchurl { url = "mirror://kernel/linux/bluetooth/${name}.tar.gz"; - sha256 = "18wq75m45q00fvddzgfqy1d4368649r2jl3j4yvpijymalc4jra7"; + sha256 = "1xi087x2ggdywq63qp55wvi1iclk50hc42fp40kcsazw23j9vsnn"; }; - buildInputs = [ pkgconfig dbus.libs glib libusb alsaLib python makeWrapper - gst_all.gstreamer gst_all.gstPluginsBase readline libsndfile ]; + buildInputs = + [ pkgconfig dbus.libs glib libusb alsaLib python makeWrapper + readline libsndfile + # Disables GStreamer; not clear what it gains us other than a + # zillion extra dependencies. + # gst_all.gstreamer gst_all.gstPluginsBase + ]; - configureFlags = "--localstatedir=/var --enable-udevrules --enable-configrules --enable-cups"; + configureFlags = "--localstatedir=/var --enable-cups"; # Work around `make install' trying to create /var/lib/bluetooth. installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth"; + makeFlags = "rulesdir=$(out)/lib/udev/rules.d"; + + /* !!! Move these into a separate package to prevent Bluez from + depending on Python etc. */ postInstall = '' pushd test for a in simple-agent test-adapter test-device; do