aubio: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-18 08:44:57 +02:00
parent 635b4fbce8
commit 8a1e52b0d2

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
, libsndfile, pkgconfig, python
, libsndfile, pkgconfig, python2
}:
stdenv.mkDerivation rec {
@ -11,14 +11,14 @@ stdenv.mkDerivation rec {
};
buildInputs = [
alsaLib fftw libjack2 libsamplerate libsndfile pkgconfig python
alsaLib fftw libjack2 libsamplerate libsndfile pkgconfig python2
];
configurePhase = "python waf configure --prefix=$out";
configurePhase = "${python2.interpreter} waf configure --prefix=$out";
buildPhase = "python waf";
buildPhase = "${python2.interpreter} waf";
installPhase = "python waf install";
installPhase = "${python2.interpreter} waf install";
meta = with stdenv.lib; {
description = "Library for audio labelling";