nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 63 lines 1.2 kB view raw
1{ 2 alsa-lib, 3 cmake, 4 curl, 5 fetchFromGitHub, 6 freetype, 7 lib, 8 libGL, 9 libXcursor, 10 libXext, 11 libXinerama, 12 libXrandr, 13 libjack2, 14 pkg-config, 15 stdenv, 16}: 17stdenv.mkDerivation (finalAttrs: { 18 pname = "uhhyou-plugins-juce"; 19 version = "0.1.0"; 20 src = fetchFromGitHub { 21 owner = "ryukau"; 22 repo = "UhhyouPluginsJuce"; 23 tag = "UhhyouPluginsJuce${finalAttrs.version}"; 24 hash = "sha256-oHxyOTiqEwdNUKGQNjjfdRkzMa+4TYX6Vf6ZS9BTcC0="; 25 fetchSubmodules = true; 26 }; 27 nativeBuildInputs = [ 28 pkg-config 29 cmake 30 ]; 31 buildInputs = [ 32 alsa-lib 33 curl 34 freetype 35 libGL 36 libXcursor 37 libXext 38 libXinerama 39 libXrandr 40 libjack2 41 ]; 42 43 # Disable LTO to avoid optimization mismatch issues 44 NIX_CFLAGS_COMPILE = [ 45 "-fno-lto" 46 ]; 47 48 installPhase = '' 49 runHook preInstall 50 51 mkdir -p $out/lib/vst3 52 cp -r *_artefacts/Release/VST3/*.vst3 $out/lib/vst3/ 53 runHook postInstall 54 ''; 55 56 meta = { 57 homepage = "https://github.com/ryukau/UhhyouPluginsJuce"; 58 description = "A collection of VST3 effect plugins"; 59 license = [ lib.licenses.agpl3Only ]; 60 maintainers = with lib.maintainers; [ magnetophon ]; 61 platforms = lib.platforms.linux; 62 }; 63})