2015-06-27 07:17:52 +00:00
|
|
|
{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
|
2017-12-07 12:51:13 +00:00
|
|
|
, libsndfile, pkgconfig, python
|
2014-02-18 20:24:33 +00:00
|
|
|
}:
|
2009-10-14 15:32:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-07 12:51:13 +00:00
|
|
|
name = "aubio-0.4.6";
|
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";
|
2017-12-07 12:51:13 +00:00
|
|
|
sha256 = "1yvwskahx1bf3x2fvi6cwah1ay11iarh79fjlqz8s887y3hkpixx";
|
2009-09-21 09:58:38 +00:00
|
|
|
};
|
|
|
|
|
2017-12-07 12:51:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig python ];
|
|
|
|
buildInputs = [ alsaLib fftw libjack2 libsamplerate libsndfile ];
|
2009-09-21 09:58:38 +00:00
|
|
|
|
2017-12-07 12:51:13 +00:00
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
2014-02-18 20:24:33 +00:00
|
|
|
|
2017-12-07 12:51:13 +00:00
|
|
|
buildPhase = "python waf";
|
2014-02-18 20:24:33 +00:00
|
|
|
|
2017-12-07 12:51:13 +00:00
|
|
|
installPhase = "python waf install";
|
2014-02-18 20:24:33 +00:00
|
|
|
|
2016-10-27 22:53:12 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Library for audio labelling";
|
2017-06-19 23:03:01 +00:00
|
|
|
homepage = https://aubio.org/;
|
2014-02-18 20:24:33 +00:00
|
|
|
license = licenses.gpl2;
|
2016-10-27 22:53:12 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu marcweber fpletz ];
|
2014-02-18 20:24:33 +00:00
|
|
|
platforms = platforms.linux;
|
2009-09-21 09:58:38 +00:00
|
|
|
};
|
|
|
|
}
|