2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib, fftw, libjack2, libsamplerate
|
2021-03-20 04:20:00 +00:00
|
|
|
, libsndfile, pkg-config, python3, wafHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-26 17:43:05 +00:00
|
|
|
pname = "aubio";
|
|
|
|
version = "0.4.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-26 17:43:05 +00:00
|
|
|
url = "https://aubio.org/pub/aubio-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1npks71ljc48w6858l9bq30kaf5nph8z0v61jkfb70xb9np850nl";
|
|
|
|
};
|
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
nativeBuildInputs = [ pkg-config python3 wafHook ];
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ alsa-lib fftw libjack2 libsamplerate libsndfile ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library for audio labelling";
|
|
|
|
homepage = "https://aubio.org/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ goibhniu marcweber fpletz ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|