diff --git a/pkgs/os-specific/linux/bluez/default.nix b/pkgs/os-specific/linux/bluez/default.nix new file mode 100644 index 000000000000..e53248232820 --- /dev/null +++ b/pkgs/os-specific/linux/bluez/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurl, pkgconfig, dbus, glib, libusb, alsaLib}: + +assert stdenv.isLinux; + +stdenv.mkDerivation rec { + name = "bluez-4.47"; + + src = fetchurl { + url = "mirror://kernel/linux/bluetooth/${name}.tar.gz"; + sha256 = "0xiv26q1cgddby90pvc7f36xh6ky73c2w8gfmc4wgc1nd3dbf2w3"; + }; + + buildInputs = [pkgconfig dbus.libs glib libusb alsaLib]; + + meta = { + homepage = http://www.bluez.org/; + description = "Bluetooth support for Linux"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dbc57abf145f..df325c2b9114 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4646,6 +4646,11 @@ let inherit kernel; }); + bluez = import ../os-specific/linux/bluez { + inherit fetchurl stdenv pkgconfig dbus libusb alsaLib; + inherit (gtkLibs) glib; + }; + bridge_utils = import ../os-specific/linux/bridge_utils { inherit fetchurl stdenv autoconf automake; };