2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libsndfile }:
|
2012-07-31 22:13:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-14 02:40:40 +01:00
|
|
|
name = "sbc-1.4";
|
2012-07-31 22:13:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.kernel.org/pub/linux/bluetooth/${name}.tar.xz";
|
2018-10-14 02:40:40 +01:00
|
|
|
sha256 = "1jal98pnrjkzxlkiqy0ykh4qmgnydz9bmsp1jn581p5kddpg92si";
|
2012-07-31 22:13:53 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-04-25 23:30:42 +01:00
|
|
|
buildInputs = [ libsndfile ];
|
2012-07-31 22:13:53 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2012-07-31 22:13:53 +01:00
|
|
|
description = "SubBand Codec Library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.bluez.org/";
|
2015-04-25 23:30:42 +01:00
|
|
|
license = licenses.gpl2;
|
2015-04-25 23:54:12 +01:00
|
|
|
platforms = platforms.linux;
|
2012-07-31 22:13:53 +01:00
|
|
|
};
|
|
|
|
}
|