2020-04-24 23:36:52 +00:00
|
|
|
# set VAMP_PATH ?
|
|
|
|
# plugins availible on sourceforge and http://www.vamp-plugins.org/download.html (various licenses)
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, libsndfile }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vamp-plugin-sdk";
|
2020-06-02 18:00:15 +00:00
|
|
|
version = "2.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c4dm";
|
|
|
|
repo = "vamp-plugin-sdk";
|
|
|
|
rev = "vamp-plugin-sdk-v${version}";
|
2020-06-02 18:00:15 +00:00
|
|
|
sha256 = "1lhmskcyk7qqfikmasiw7wjry74gc8g5q6a3j1iya84yd7ll0cz6";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libsndfile ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2022-02-10 20:34:41 +00:00
|
|
|
makeFlags = [
|
|
|
|
"AR:=$(AR)"
|
|
|
|
"RANLIB:=$(RANLIB)"
|
|
|
|
] ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-o test";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Audio processing plugin system for plugins that extract descriptive information from audio data";
|
|
|
|
homepage = "https://vamp-plugins.org/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.goibhniu maintainers.marcweber ];
|
2021-10-04 12:37:57 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|