2015-04-25 15:30:42 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libsndfile }:
|
2012-07-31 14:13:53 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-13 18:40:40 -07:00
|
|
|
name = "sbc-1.4";
|
2012-07-31 14:13:53 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.kernel.org/pub/linux/bluetooth/${name}.tar.xz";
|
2018-10-13 18:40:40 -07:00
|
|
|
sha256 = "1jal98pnrjkzxlkiqy0ykh4qmgnydz9bmsp1jn581p5kddpg92si";
|
2012-07-31 14:13:53 -07:00
|
|
|
};
|
|
|
|
|
2015-04-25 15:30:42 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libsndfile ];
|
2012-07-31 14:13:53 -07:00
|
|
|
|
2015-04-25 15:30:42 -07:00
|
|
|
meta = with stdenv.lib; {
|
2012-07-31 14:13:53 -07:00
|
|
|
description = "SubBand Codec Library";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.bluez.org/";
|
2015-04-25 15:30:42 -07:00
|
|
|
license = licenses.gpl2;
|
2015-04-25 15:54:12 -07:00
|
|
|
platforms = platforms.linux;
|
2012-07-31 14:13:53 -07:00
|
|
|
};
|
|
|
|
}
|