3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/audio/vamp-plugin-sdk/default.nix

34 lines
1,000 B
Nix
Raw Normal View History

# set VAMP_PATH ?
# plugins availible on sourceforge and http://www.vamp-plugins.org/download.html (various licenses)
{ lib, stdenv, fetchFromGitHub, pkg-config, libsndfile }:
2020-03-26 20:42:33 +00:00
stdenv.mkDerivation rec {
pname = "vamp-plugin-sdk";
2020-05-24 14:42:45 +01:00
version = "2.10";
src = fetchFromGitHub {
owner = "c4dm";
repo = "vamp-plugin-sdk";
2020-03-26 20:42:33 +00:00
rev = "vamp-plugin-sdk-v${version}";
2020-05-24 14:42:45 +01:00
sha256 = "1lhmskcyk7qqfikmasiw7wjry74gc8g5q6a3j1iya84yd7ll0cz6";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libsndfile ];
2020-03-26 20:42:33 +00:00
enableParallelBuilding = true;
2022-01-06 10:00:59 +00:00
makeFlags = [
"AR:=$(AR)"
"RANLIB:=$(RANLIB)"
] ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-o test";
2020-03-26 20:42:33 +00:00
meta = with lib; {
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 ];
platforms = platforms.unix;
};
}