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