nixpkgs/pkgs/development/libraries/aubio/default.nix

30 lines
828 B
Nix
Raw Normal View History

{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
2017-03-11 14:28:07 +00:00
, libsndfile, pkgconfig, python3
}:
stdenv.mkDerivation rec {
2017-03-11 14:28:07 +00:00
name = "aubio-0.4.4";
src = fetchurl {
2014-02-17 22:43:11 +00:00
url = "http://aubio.org/pub/${name}.tar.bz2";
2017-03-11 14:28:07 +00:00
sha256 = "1y5zzwv9xjc649g4xrlqnim4q7pcwgzn0xrq3ijbmm5r4ckbkk9a";
};
2017-03-11 14:28:07 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ alsaLib fftw libjack2 libsamplerate libsndfile python3 ];
2017-03-11 14:28:07 +00:00
configurePhase = "${python3.interpreter} waf configure --prefix=$out";
2017-03-11 14:28:07 +00:00
buildPhase = "${python3.interpreter} waf";
2017-03-11 14:28:07 +00:00
installPhase = "${python3.interpreter} waf install";
2016-10-27 22:53:12 +00:00
meta = with stdenv.lib; {
description = "Library for audio labelling";
homepage = http://aubio.org/;
license = licenses.gpl2;
2016-10-27 22:53:12 +00:00
maintainers = with maintainers; [ goibhniu marcweber fpletz ];
platforms = platforms.linux;
};
}