vaporizer2: init at 3.5.0-unstable-2024-09-14 (#442953)

authored by Cosima Neidahl and committed by GitHub 62ea43fd ac519755

+77
+77
pkgs/by-name/va/vaporizer2/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + cmake, 6 + juce, 7 + pkg-config, 8 + alsa-lib, 9 + fftwFloat, 10 + fontconfig, 11 + freetype, 12 + libGL, 13 + libX11, 14 + libXcursor, 15 + libXext, 16 + libXinerama, 17 + libXrandr, 18 + libjack2, 19 + }: 20 + 21 + stdenv.mkDerivation (finalAttrs: { 22 + pname = "vaporizer2"; 23 + version = "3.5.0-unstable-2024-09-14"; 24 + 25 + src = fetchFromGitHub { 26 + owner = "VASTDynamics"; 27 + repo = "Vaporizer2"; 28 + rev = "1c56c4be304255f1c397dad725ea784f15a55ef5"; 29 + hash = "sha256-/J0HqiXc84JEIsEyb1MlzAqpmJZEe8jP07fEcJSEZz8="; 30 + fetchSubmodules = true; 31 + }; 32 + 33 + strictDeps = true; 34 + 35 + nativeBuildInputs = [ 36 + cmake 37 + juce 38 + pkg-config 39 + ]; 40 + 41 + buildInputs = [ 42 + alsa-lib 43 + fftwFloat 44 + fontconfig 45 + freetype 46 + libGL 47 + libX11 48 + libXcursor 49 + libXext 50 + libXinerama 51 + libXrandr 52 + libjack2 53 + ]; 54 + 55 + cmakeFlags = [ 56 + (lib.cmakeFeature "USE_SYSTEM_JUCE" "ON") 57 + ]; 58 + 59 + # LTO needs special setup on Linux 60 + postPatch = '' 61 + substituteInPlace CMakeLists.txt \ 62 + --replace-fail 'juce::juce_recommended_lto_flags' '# Not forcing LTO' 63 + ''; 64 + 65 + meta = { 66 + description = "Wavetable synthesizer"; 67 + longDescription = '' 68 + Hybrid wavetable additive / subtractive VST / AU / AAX synthesizer / sampler workstation plugin 69 + ''; 70 + homepage = "https://www.vast-dynamics.com/?q=Vaporizer2"; 71 + downloadPage = "https://github.com/VASTDynamics/Vaporizer2"; 72 + license = lib.licenses.gpl3Only; 73 + maintainers = with lib.maintainers; [ eljamm ]; 74 + mainProgram = "VASTvaporizer2"; 75 + platforms = lib.platforms.linux; 76 + }; 77 + })