Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, fetchurl, pkgconfig, libsndfile }:
2
3stdenv.mkDerivation rec {
4 name = "sbc-1.4";
5
6 src = fetchurl {
7 url = "http://www.kernel.org/pub/linux/bluetooth/${name}.tar.xz";
8 sha256 = "1jal98pnrjkzxlkiqy0ykh4qmgnydz9bmsp1jn581p5kddpg92si";
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 };
20}