2014-02-18 21:24:33 +01:00
|
|
|
{ stdenv, fetchurl, alsaLib, fftw, jackaudio, libsamplerate
|
|
|
|
, libsndfile, pkgconfig, python
|
|
|
|
}:
|
2009-10-14 17:32:37 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-02-17 23:43:11 +01:00
|
|
|
name = "aubio-0.4.0";
|
2009-09-21 11:58:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-02-17 23:43:11 +01:00
|
|
|
url = "http://aubio.org/pub/${name}.tar.bz2";
|
|
|
|
sha256 = "18ik5nn8n984f0wnrwdfhc06b8blqgm9b2hrm7hc9m0rr039mpj9";
|
2009-09-21 11:58:38 +02:00
|
|
|
};
|
|
|
|
|
2014-02-18 21:24:33 +01:00
|
|
|
buildInputs = [
|
|
|
|
alsaLib fftw jackaudio libsamplerate libsndfile pkgconfig python
|
|
|
|
];
|
2009-09-21 11:58:38 +02:00
|
|
|
|
2014-02-18 21:24:33 +01:00
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
|
|
|
|
buildPhase = "python waf";
|
|
|
|
|
|
|
|
installPhase = "python waf install";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-10-05 16:22:46 +02:00
|
|
|
description = "Library for audio labelling";
|
2009-09-21 11:58:38 +02:00
|
|
|
homepage = http://aubio.org/;
|
2014-02-18 21:24:33 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu maintainers.marcweber ];
|
|
|
|
platforms = platforms.linux;
|
2009-09-21 11:58:38 +02:00
|
|
|
};
|
|
|
|
}
|