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

30 lines
779 B
Nix
Raw Normal View History

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