3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/aubio/default.nix

30 lines
780 B
Nix
Raw Normal View History

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