1 { stdenv, lib, fetchFromGitHub, cmake, pkg-config, cairo, libxkbcommon
2 , xcbutilcursor, xcbutilkeysyms, xcbutil, libXrandr, libXinerama, libXcursor
3 , alsa-lib, libjack2, lv2, gcc-unwrapped }:
5 stdenv.mkDerivation (finalAttrs: {
6 pname = "chow-centaur";
9 src = fetchFromGitHub {
10 owner = "jatinchowdhury18";
12 rev = "v${finalAttrs.version}";
13 sha256 = "0mrzlf4a6f25xd7z9xanpyq7ybb4al01dzpjsgi0jkmlmadyhc4h";
14 fetchSubmodules = true;
17 nativeBuildInputs = [ cmake pkg-config ];
33 "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar"
34 "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib"
35 "-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm"
39 mkdir -p $out/lib/lv2 $out/lib/vst3
40 cd ChowCentaur/ChowCentaur_artefacts/Release
41 cp -r LV2/ChowCentaur.lv2 $out/lib/lv2
42 cp -r VST3/ChowCentaur.vst3 $out/lib/vst3
47 "Digital emulation of the Klon Centaur guitar pedal using RNNs, Wave Digital Filters, and more";
48 homepage = "https://github.com/jatinchowdhury18/KlonCentaur";
49 license = licenses.bsd3;
50 platforms = [ "x86_64-linux" ];
51 maintainers = with maintainers; [ magnetophon ];