1{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
2, libsndfile, pkgconfig, python
3}:
4
5stdenv.mkDerivation rec {
6 name = "aubio-0.4.1";
7
8 src = fetchurl {
9 url = "http://aubio.org/pub/${name}.tar.bz2";
10 sha256 = "15f6nf76y7iyl2kl4ny7ky0zpxfxr8j3902afvd6ydnnkh5dzmr5";
11 };
12
13 buildInputs = [
14 alsaLib fftw libjack2 libsamplerate libsndfile pkgconfig python
15 ];
16
17 configurePhase = "python waf configure --prefix=$out";
18
19 buildPhase = "python waf";
20
21 installPhase = "python waf install";
22
23 meta = with stdenv.lib; {
24 description = "Library for audio labelling";
25 homepage = http://aubio.org/;
26 license = licenses.gpl2;
27 maintainers = [ maintainers.goibhniu maintainers.marcweber ];
28 platforms = platforms.linux;
29 };
30}