Change:
<del> { stdenv, fetchurl, alsaLib, cairo, cmake, libjack2, fftw, fltk13, lash,  libjpeg , libXpm, minixml, ntk, pkgconfig, zlib, liblo </del> <ins> { lib , stdenv , fetchFromGitHub , callPackage # Required build tools , cmake , makeWrapper , pkg-config # Required dependencies , fftw , liblo , minixml , zlib # Optional dependencies , alsaSupport ? true , alsaLib , dssiSupport ? false , dssi , ladspaH , jackSupport ? true , libjack2 , lashSupport ? false , lash , ossSupport ? true , portaudioSupport ? true , portaudio # Optional GUI dependencies , guiModule ? "off" , cairo , fltk13 , libGL , libjpeg , libX11 , libXpm , ntk # Test dependencies , cxxtest </ins> }: <del> stdenv.mkDerivation  rec { </del> <ins> assert builtins.any (g: guiModule == g) [ "fltk" "ntk" "zest" "off" ]; let guiName = { "fltk" = "FLTK"; "ntk" = "NTK"; "zest" = "Zyn-Fusion"; }.${guiModule}; mruby-zest = callPackage ./mruby-zest { }; in stdenv.mkDerivation rec { </ins> pname = "zynaddsubfx"; version = "3.0.5"; <del> src = fetchurl { url = "mirror://sourceforge/zynaddsubfx/zynaddsubfx-${version}.tar.bz2"; sha256 = "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"; </del> <ins> src = fetchFromGitHub { owner = pname; repo = pname; rev = version; sha256 = "1vh1gszgjxwn8m32rk5222z1j2cnjax0bqpag7b47v6i36p2q4x8"; fetchSubmodules = true; </ins> }; <del> buildInputs = [ alsaLib cairo libjack2 fftw fltk13 lash libjpeg libXpm minixml ntk zlib liblo ]; nativeBuildInputs = [ cmake pkgconfig ]; patchPhase = '' </del> <ins> postPatch = '' </ins> substituteInPlace src/Misc/Config.cpp --replace /usr $out ''; <del> hardeningDisable = [ "format" ]; </del> <ins> nativeBuildInputs = [ cmake makeWrapper pkg-config ]; buildInputs = [ fftw liblo minixml zlib ] ++ lib.optionals alsaSupport [ alsaLib ] ++ lib.optionals dssiSupport [ dssi ladspaH ] ++ lib.optionals jackSupport [ libjack2 ] ++ lib.optionals lashSupport [ lash ] ++ lib.optionals portaudioSupport [ portaudio ] ++ lib.optionals (guiModule == "fltk") [ fltk13 libjpeg libXpm ] ++ lib.optionals (guiModule == "ntk") [ ntk cairo libXpm ] ++ lib.optionals (guiModule == "zest") [ libGL libX11 ]; cmakeFlags = [ "-DGuiModule=${guiModule}" ] # OSS library is included in glibc. # Must explicitly disable if support is not wanted. ++ lib.optional (!ossSupport) "-DOssEnable=OFF" # Find FLTK without requiring an OpenGL library in buildInputs ++ lib.optional (guiModule == "fltk") "-DFLTK_SKIP_OPENGL=ON"; doCheck = true; checkInputs = [ cxxtest ]; # When building with zest GUI, patch plugins # and standalone executable to properly locate zest postFixup = lib.optional (guiModule == "zest") '' patchelf --set-rpath "${mruby-zest}:$(patchelf --print-rpath "$out/lib/lv2/ZynAddSubFX.lv2/ZynAddSubFX_ui.so")"  "$out/lib/lv2/ZynAddSubFX.lv2/ZynAddSubFX_ui.so" patchelf --set-rpath "${mruby-zest}:$(patchelf --print-rpath "$out/lib/vst/ZynAddSubFX.so")"  "$out/lib/vst/ZynAddSubFX.so" wrapProgram "$out/bin/zynaddsubfx"  --prefix PATH : ${mruby-zest}  --prefix LD_LIBRARY_PATH : ${mruby-zest} ''; meta = with lib; { description = "High quality software synthesizer (${guiName} GUI)"; homepage = if guiModule == "zest" then "https://zynaddsubfx.sourceforge.io/zyn-fusion.html" else "https://zynaddsubfx.sourceforge.io"; </ins> <del> meta = with stdenv.lib; { description = "High quality software synthesizer"; homepage = "http://zynaddsubfx.sourceforge.net"; </del> license = licenses.gpl2; <ins> maintainers = with maintainers; [ goibhniu metadark ]; </ins> platforms = platforms.linux; <del> maintainers = [ maintainers.goibhniu maintainers.nico202 ]; </del> }; }

Discussion:
Project description ! Zyn-Fusion is the new GUI front-end for . I tried to modify zynaddsubfx to use the package from (which is said to have included zyn-fusion) with no avail. Metadata homepage URL: source URL: license: platforms: linux cc zynaddsubfx maintainers
I marked this as stale due to inactivity. &rarr;