1 { lib, stdenv, fetchFromGitHub, libGL, libX11, libXext, libXrandr, libXinerama, libXcursor, freetype, alsa-lib, cmake, pkg-config, gcc-unwrapped }:
3 stdenv.mkDerivation rec {
4 pname = "delayarchitect";
5 version = "unstable-2022-01-16";
7 src = fetchFromGitHub {
9 repo = "DelayArchitect";
10 rev = "5abf4dfb7f92ba604d591a2c388d2d69a9055fe3";
11 sha256 = "sha256-LoK2pYPLzyJF7tDJPRYer6gKHNYzvFvX/d99TuOPECo=";
12 fetchSubmodules = true;
15 nativeBuildInputs = [ cmake pkg-config ];
18 libGL libX11 libXext libXrandr libXinerama libXcursor freetype alsa-lib
22 "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar"
23 "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib"
24 "-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm"
28 mkdir -p $out/lib/vst3
29 cd DelayArchitect_artefacts/Release
30 cp -r VST3/Delay\ Architect.vst3 $out/lib/vst3
34 homepage = "https://github.com/jpcima/DelayArchitect";
35 description = "A visual, musical editor for delay effects";
36 maintainers = [ maintainers.magnetophon ];
37 platforms = platforms.all;
38 license = licenses.gpl3Plus;