1 { alsa-lib, at-spi2-core, cmake, curl, dbus, libepoxy, fetchFromGitHub, libglut
2 , freetype, gcc-unwrapped, gtk3, lib, libGL, libXcursor, libXdmcp, libXext
3 , libXinerama, libXrandr, libXtst, libdatrie, libjack2, libpsl, libselinux
4 , libsepol, libsysprof-capture, libthai, libxkbcommon, pcre, pkg-config
5 , python3, sqlite, stdenv }:
7 stdenv.mkDerivation (finalAttrs: {
11 src = fetchFromGitHub {
12 owner = "jatinchowdhury18";
14 rev = "v${finalAttrs.version}";
15 fetchSubmodules = true;
16 hash = "sha256-9wo7ZFMruG3QNvlpILSvrFh/Sx6J1qnlWc8+aQyS4tQ=";
19 nativeBuildInputs = [ pkg-config cmake ];
52 "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar"
53 "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib"
54 "-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm"
58 mkdir -p $out/lib/lv2 $out/lib/vst3 $out/bin $out/share/doc/ChowPhaser/
59 cd ChowPhaserMono_artefacts/Release
60 cp libChowPhaserMono_SharedCode.a $out/lib
61 cp -r VST3/ChowPhaserMono.vst3 $out/lib/vst3
62 cp Standalone/ChowPhaserMono $out/bin
63 cd ../../ChowPhaserStereo_artefacts/Release
64 cp libChowPhaserStereo_SharedCode.a $out/lib
65 cp -r VST3/ChowPhaserStereo.vst3 $out/lib/vst3
66 cp Standalone/ChowPhaserStereo $out/bin
70 homepage = "https://github.com/jatinchowdhury18/ChowPhaser";
71 description = "Phaser effect based loosely on the Schulte Compact Phasing 'A'";
72 license = with licenses; [ bsd3 ];
73 mainProgram = "ChowPhaserStereo";
74 maintainers = with maintainers; [ magnetophon ];
75 platforms = platforms.linux;