ysfx: switch to JoepVanlier fork, adopt (#499688)
This commit is contained in:
@@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ysfx";
|
||||
version = "0-unstable-2022-07-31";
|
||||
version = "0-unstable-2026-03-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jpcima";
|
||||
owner = "JoepVanlier";
|
||||
repo = "ysfx";
|
||||
rev = "8077347ccf4115567aed81400281dca57acbb0cc";
|
||||
hash = "sha256-pObuOb/PA9WkKB2FdMDCOd9TKmML+Sj2MybLP0YwT+8=";
|
||||
rev = "370c91915b0f26f5051705620b0712d06753bd41";
|
||||
hash = "sha256-9PFBDUOvLCQcZvL8TsG8MVZYzdHsaKK/Pb7S5A1dJBE=";
|
||||
};
|
||||
|
||||
# Provide latest dr_libs.
|
||||
@@ -33,9 +33,20 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-rWabyCP47vd+EfibBWy6iQY/nFN/OXPNhkuOTSboJaU=";
|
||||
};
|
||||
|
||||
# Provide latest clap-juce-extensions.
|
||||
clap-juce-extensions = fetchFromGitHub {
|
||||
fetchSubmodules = true;
|
||||
owner = "free-audio";
|
||||
repo = "clap-juce-extensions";
|
||||
rev = "e1f67893cc409a40c1154fa2e78c97046da24ce0";
|
||||
hash = "sha256-JHHK9GcW0CUgUbDZeOavNRKOaAI+9pECVo9UfksPnLg=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
rmdir thirdparty/dr_libs
|
||||
ln -s ${dr_libs} thirdparty/dr_libs
|
||||
rmdir thirdparty/clap-juce-extensions
|
||||
ln -s ${clap-juce-extensions} thirdparty/clap-juce-extensions
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -64,15 +75,16 @@ stdenv.mkDerivation rec {
|
||||
|
||||
mkdir -p $out/lib
|
||||
cp -r ysfx_plugin_artefacts/Release/VST3 $out/lib/vst3
|
||||
cp -r ysfx_plugin_artefacts/Release/CLAP $out/lib/clap
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Hosting library for JSFX";
|
||||
homepage = "https://github.com/jpcima/ysfx";
|
||||
homepage = "https://github.com/JoepVanlier/ysfx";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
maintainers = [ lib.maintainers.bitbloxhub ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user