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