mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
30 lines
828 B
Nix
30 lines
828 B
Nix
{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
|
|
, libsndfile, pkgconfig, python3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "aubio-0.4.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://aubio.org/pub/${name}.tar.bz2";
|
|
sha256 = "1y5zzwv9xjc649g4xrlqnim4q7pcwgzn0xrq3ijbmm5r4ckbkk9a";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ alsaLib fftw libjack2 libsamplerate libsndfile python3 ];
|
|
|
|
configurePhase = "${python3.interpreter} waf configure --prefix=$out";
|
|
|
|
buildPhase = "${python3.interpreter} waf";
|
|
|
|
installPhase = "${python3.interpreter} waf install";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Library for audio labelling";
|
|
homepage = http://aubio.org/;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ goibhniu marcweber fpletz ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|