1{ stdenv, fetchurl, pkgconfig, libsndfile }:
2
3stdenv.mkDerivation rec {
4 name = "sbc-1.3";
5
6 src = fetchurl {
7 url = "http://www.kernel.org/pub/linux/bluetooth/${name}.tar.xz";
8 sha256 = "02ckd2z51z0h85qgv7x8vv8ybp5czm9if1z78411j53gaz7j4476";
9 };
10
11 nativeBuildInputs = [ pkgconfig ];
12 buildInputs = [ libsndfile ];
13
14 meta = with stdenv.lib; {
15 description = "SubBand Codec Library";
16 homepage = http://www.bluez.org/;
17 license = licenses.gpl2;
18 platforms = platforms.linux;
19 maintainers = with maintainers; [ wkennington ];
20 };
21}