summary refs log tree commit diff
path: root/pkgs/development/libraries/sbc/default.nix
blob: 06411c1f22a8318d0e750256604945847aa70788 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, libsndfile, pkgconfig }:

stdenv.mkDerivation rec {
  name = "sbc-1.1";

  src = fetchurl {
    url = "http://www.kernel.org/pub/linux/bluetooth/${name}.tar.xz";
    sha256 = "1ipvkhilyhdbd2nzq0la6l7q361l0zm0c6kvga2a0y89q8nssc4s";
  };

  buildInputs = [ pkgconfig libsndfile ];

  meta = {
    description = "SubBand Codec Library";

    homepage = http://www.bluez.org/;

    license = stdenv.lib.licenses.gpl2;
  };
}