nixpkgs-suyu/pkgs/development/libraries/sbc/default.nix

22 lines
558 B
Nix
Raw Normal View History

2015-04-26 00:30:42 +02:00
{ stdenv, fetchurl, pkgconfig, libsndfile }:
2012-07-31 23:13:53 +02:00
stdenv.mkDerivation rec {
2015-04-26 00:30:42 +02:00
name = "sbc-1.3";
2012-07-31 23:13:53 +02:00
src = fetchurl {
url = "http://www.kernel.org/pub/linux/bluetooth/${name}.tar.xz";
2015-04-26 00:30:42 +02:00
sha256 = "02ckd2z51z0h85qgv7x8vv8ybp5czm9if1z78411j53gaz7j4476";
2012-07-31 23:13:53 +02:00
};
2015-04-26 00:30:42 +02:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libsndfile ];
2012-07-31 23:13:53 +02:00
2015-04-26 00:30:42 +02:00
meta = with stdenv.lib; {
2012-07-31 23:13:53 +02:00
description = "SubBand Codec Library";
homepage = http://www.bluez.org/;
2015-04-26 00:30:42 +02:00
license = licenses.gpl2;
2015-04-26 00:54:12 +02:00
platforms = platforms.linux;
2015-04-26 00:30:42 +02:00
maintainers = with maintainers; [ wkennington ];
2012-07-31 23:13:53 +02:00
};
}