summary refs log blame commit diff
path: root/pkgs/development/libraries/sbc/default.nix
blob: ce8db3ee9ea90a861db210604cda2760f272d2d3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                            

                         
                   


                                                                     
                                                                    

    

                                    
 
                           
                                          
                                     
                            
                                

    
{ stdenv, fetchurl, pkgconfig, libsndfile }:

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

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

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libsndfile ];

  meta = with stdenv.lib; {
    description = "SubBand Codec Library";
    homepage = http://www.bluez.org/;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}