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

31 lines
807 B
Nix
Raw Normal View History

{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
2016-10-18 08:44:57 +02:00
, libsndfile, pkgconfig, python2
}:
stdenv.mkDerivation rec {
2014-05-03 17:12:06 +02:00
name = "aubio-0.4.1";
src = fetchurl {
2014-02-17 23:43:11 +01:00
url = "http://aubio.org/pub/${name}.tar.bz2";
2014-05-03 17:12:06 +02:00
sha256 = "15f6nf76y7iyl2kl4ny7ky0zpxfxr8j3902afvd6ydnnkh5dzmr5";
};
buildInputs = [
2016-10-18 08:44:57 +02:00
alsaLib fftw libjack2 libsamplerate libsndfile pkgconfig python2
];
2016-10-18 08:44:57 +02:00
configurePhase = "${python2.interpreter} waf configure --prefix=$out";
2016-10-18 08:44:57 +02:00
buildPhase = "${python2.interpreter} waf";
2016-10-18 08:44:57 +02:00
installPhase = "${python2.interpreter} waf install";
meta = with stdenv.lib; {
description = "Library for audio labelling";
homepage = http://aubio.org/;
license = licenses.gpl2;
maintainers = [ maintainers.goibhniu maintainers.marcweber ];
platforms = platforms.linux;
};
}