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

                         
                       

                  
                                                 
                                                                    

    

                                                                           
 
                                                                        
 
                                            
 
                                                      
 
                           
                                                
                                 
                            
                                                                  
                                

    
{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
, libsndfile, pkgconfig, python3
}:

stdenv.mkDerivation rec {
  name = "aubio-0.4.4";

  src = fetchurl {
    url = "http://aubio.org/pub/${name}.tar.bz2";
    sha256 = "1y5zzwv9xjc649g4xrlqnim4q7pcwgzn0xrq3ijbmm5r4ckbkk9a";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ alsaLib fftw libjack2 libsamplerate libsndfile python3 ];

  configurePhase = "${python3.interpreter} waf configure --prefix=$out";

  buildPhase = "${python3.interpreter} waf";

  installPhase = "${python3.interpreter} waf install";

  meta = with stdenv.lib; {
    description = "Library for audio labelling";
    homepage = http://aubio.org/;
    license = licenses.gpl2;
    maintainers = with maintainers; [ goibhniu marcweber fpletz ];
    platforms = platforms.linux;
  };
}