1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config
2 , freetype, juce, libX11, libXcursor, libXext, libXinerama, libXrandr, libglvnd
5 stdenv.mkDerivation rec {
7 version = "0-unstable-2022-07-31";
9 src = fetchFromGitHub {
12 rev = "8077347ccf4115567aed81400281dca57acbb0cc";
13 hash = "sha256-pObuOb/PA9WkKB2FdMDCOd9TKmML+Sj2MybLP0YwT+8=";
16 # Provide latest dr_libs.
17 dr_libs = fetchFromGitHub {
20 rev = "e4a7765e598e9e54dc0f520b7e4416359bee80cc";
21 hash = "sha256-rWabyCP47vd+EfibBWy6iQY/nFN/OXPNhkuOTSboJaU=";
25 rmdir thirdparty/dr_libs
26 ln -s ${dr_libs} thirdparty/dr_libs
29 nativeBuildInputs = [ cmake pkg-config ];
43 "-DYSFX_PLUGIN_COPY=OFF"
44 "-DYSFX_PLUGIN_USE_SYSTEM_JUCE=ON"
51 cp -r ysfx_plugin_artefacts/Release/VST3 $out/lib/vst3
57 description = "Hosting library for JSFX";
58 homepage = "https://github.com/jpcima/ysfx";
59 license = licenses.asl20;
60 maintainers = with maintainers; [ orivej ];
61 platforms = platforms.linux;