Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 33 lines 1.0 kB view raw
1# set VAMP_PATH ? 2# plugins availible on sourceforge and http://www.vamp-plugins.org/download.html (various licenses) 3 4{ lib, stdenv, fetchFromGitHub, pkg-config, libsndfile }: 5 6stdenv.mkDerivation rec { 7 pname = "vamp-plugin-sdk"; 8 version = "2.10"; 9 10 src = fetchFromGitHub { 11 owner = "c4dm"; 12 repo = "vamp-plugin-sdk"; 13 rev = "vamp-plugin-sdk-v${version}"; 14 sha256 = "1lhmskcyk7qqfikmasiw7wjry74gc8g5q6a3j1iya84yd7ll0cz6"; 15 }; 16 17 nativeBuildInputs = [ pkg-config ]; 18 buildInputs = [ libsndfile ]; 19 20 enableParallelBuilding = true; 21 makeFlags = [ 22 "AR:=$(AR)" 23 "RANLIB:=$(RANLIB)" 24 ] ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-o test"; 25 26 meta = with lib; { 27 description = "Audio processing plugin system for plugins that extract descriptive information from audio data"; 28 homepage = "https://vamp-plugins.org/"; 29 license = licenses.bsd3; 30 maintainers = [ maintainers.goibhniu maintainers.marcweber ]; 31 platforms = platforms.unix; 32 }; 33}