2015-06-27 09:17:52 +02:00
|
|
|
{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
|
2016-10-18 08:44:57 +02:00
|
|
|
, libsndfile, pkgconfig, python2
|
2014-02-18 21:24:33 +01:00
|
|
|
}:
|
2009-10-14 17:32:37 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-28 00:53:12 +02:00
|
|
|
name = "aubio-0.4.3";
|
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";
|
2016-10-28 00:53:12 +02:00
|
|
|
sha256 = "1azarklqggch8kkz3gbqwi2vlb6ld4lidyhp34qawr0c7h3xnb5n";
|
2009-09-21 11:58:38 +02:00
|
|
|
};
|
|
|
|
|
2014-02-18 21:24:33 +01:00
|
|
|
buildInputs = [
|
2016-10-18 08:44:57 +02:00
|
|
|
alsaLib fftw libjack2 libsamplerate libsndfile pkgconfig python2
|
2014-02-18 21:24:33 +01:00
|
|
|
];
|
2009-09-21 11:58:38 +02:00
|
|
|
|
2016-10-18 08:44:57 +02:00
|
|
|
configurePhase = "${python2.interpreter} waf configure --prefix=$out";
|
2014-02-18 21:24:33 +01:00
|
|
|
|
2016-10-18 08:44:57 +02:00
|
|
|
buildPhase = "${python2.interpreter} waf";
|
2014-02-18 21:24:33 +01:00
|
|
|
|
2016-10-18 08:44:57 +02:00
|
|
|
installPhase = "${python2.interpreter} waf install";
|
2014-02-18 21:24:33 +01:00
|
|
|
|
2016-10-28 00:53:12 +02:00
|
|
|
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;
|
2016-10-28 00:53:12 +02:00
|
|
|
maintainers = with maintainers; [ goibhniu marcweber fpletz ];
|
2014-02-18 21:24:33 +01:00
|
|
|
platforms = platforms.linux;
|
2009-09-21 11:58:38 +02:00
|
|
|
};
|
|
|
|
}
|