oxefmsynth: use the packaged version of vst2-sdk

This commit is contained in:
nicoo
2025-01-25 16:30:26 +00:00
parent 0285aa6347
commit c33c3066be
+5 -17
View File
@@ -4,20 +4,8 @@
fetchFromGitHub,
fetchzip,
libX11,
vst2-sdk,
}:
let
vst-sdk = stdenv.mkDerivation rec {
name = "vstsdk3610_11_06_2018_build_37";
src = fetchzip {
url = "https://web.archive.org/web/20181016150224if_/https://download.steinberg.net/sdk_downloads/${name}.zip";
sha256 = "0da16iwac590wphz2sm5afrfj42jrsnkr1bxcy93lj7a369ildkj";
};
installPhase = "cp -r . $out";
};
in
stdenv.mkDerivation rec {
pname = "oxefmsynth";
version = "1.3.5";
@@ -31,7 +19,7 @@ stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-narrowing" ];
buildFlags = [ "VSTSDK_PATH=${vst-sdk}/VST2_SDK" ];
buildFlags = [ "VSTSDK_PATH=${vst2-sdk}" ];
buildInputs = [ libX11 ];
@@ -40,11 +28,11 @@ stdenv.mkDerivation rec {
install -Dm644 oxevst64.so -t $out/lib/lxvst
'';
meta = with lib; {
meta = {
homepage = "https://github.com/oxesoft/oxefmsynth";
description = "Open source VST 2.4 instrument plugin";
maintainers = [ maintainers.hirenashah ];
maintainers = [ lib.maintainers.hirenashah ];
platforms = [ "x86_64-linux" ];
license = licenses.gpl3Only;
license = lib.licenses.gpl3Only;
};
}