aubio: 0.4.1 -> 0.4.4 (#23739)

This commit is contained in:
ndowens 2017-03-11 08:28:07 -06:00 committed by Franz Pletz
parent df28a56a7d
commit 286917bfc9

View File

@ -1,24 +1,23 @@
{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
, libsndfile, pkgconfig, python2
, libsndfile, pkgconfig, python3
}:
stdenv.mkDerivation rec {
name = "aubio-0.4.3";
name = "aubio-0.4.4";
src = fetchurl {
url = "http://aubio.org/pub/${name}.tar.bz2";
sha256 = "1azarklqggch8kkz3gbqwi2vlb6ld4lidyhp34qawr0c7h3xnb5n";
sha256 = "1y5zzwv9xjc649g4xrlqnim4q7pcwgzn0xrq3ijbmm5r4ckbkk9a";
};
buildInputs = [
alsaLib fftw libjack2 libsamplerate libsndfile pkgconfig python2
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ alsaLib fftw libjack2 libsamplerate libsndfile python3 ];
configurePhase = "${python2.interpreter} waf configure --prefix=$out";
configurePhase = "${python3.interpreter} waf configure --prefix=$out";
buildPhase = "${python2.interpreter} waf";
buildPhase = "${python3.interpreter} waf";
installPhase = "${python2.interpreter} waf install";
installPhase = "${python3.interpreter} waf install";
meta = with stdenv.lib; {
description = "Library for audio labelling";