diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-06-18 10:22:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 10:22:36 +0200 |
commit | 10b5f09f36bed03920411ea94bcc655f90e4578d (patch) | |
tree | 1a6dcab24d5558959980b336aa26a56d48372c3d /pkgs/applications/audio | |
parent | 55b0cadc961af373597cad691b3e218c420fa9b7 (diff) | |
parent | 96e490fbb9ecf8e0c1911c421daa01855349a52d (diff) |
Merge pull request #320263 from quantenzitrone/chow
CHOWTapeModel,Chow{Centaur,Phaser,Kick}: rename to chow-{tape-model,centaur,phaser,kick}
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/CHOWTapeModel/default.nix | 132 | ||||
-rw-r--r-- | pkgs/applications/audio/ChowCentaur/default.nix | 53 | ||||
-rw-r--r-- | pkgs/applications/audio/ChowKick/default.nix | 107 | ||||
-rw-r--r-- | pkgs/applications/audio/ChowPhaser/default.nix | 76 |
4 files changed, 0 insertions, 368 deletions
diff --git a/pkgs/applications/audio/CHOWTapeModel/default.nix b/pkgs/applications/audio/CHOWTapeModel/default.nix deleted file mode 100644 index 29c1b82d9d0e1..0000000000000 --- a/pkgs/applications/audio/CHOWTapeModel/default.nix +++ /dev/null @@ -1,132 +0,0 @@ -{ alsa-lib -, at-spi2-core -, cmake -, curl -, dbus -, libepoxy -, fetchFromGitHub -, freeglut -, freetype -, gtk3 -, lib -, libGL -, libXcursor -, libXdmcp -, libXext -, libXinerama -, libXrandr -, libXtst -, libdatrie -, libjack2 -, libpsl -, libselinux -, libsepol -, libsysprof-capture -, libthai -, libuuid -, libxkbcommon -, lv2 -, pcre -, pcre2 -, pkg-config -, python3 -, sqlite -, gcc11Stdenv -, webkitgtk -}: -let - # JUCE version in submodules is incompatible with GCC12 - # See here: https://forum.juce.com/t/build-fails-on-fedora-wrong-c-version/50902/2 - stdenv = gcc11Stdenv; -in -stdenv.mkDerivation rec { - pname = "CHOWTapeModel"; - version = "2.11.4"; - - src = fetchFromGitHub { - owner = "jatinchowdhury18"; - repo = "AnalogTapeModel"; - rev = "v${version}"; - sha256 = "sha256-WriHi68Y6hAsrwE+74JtVlAKUR9lfTczj6UK9h2FOGM="; - fetchSubmodules = true; - }; - - nativeBuildInputs = [ pkg-config cmake ]; - - buildInputs = [ - alsa-lib - at-spi2-core - curl - dbus - libepoxy - freeglut - freetype - gtk3 - libGL - libXcursor - libXdmcp - libXext - libXinerama - libXrandr - libXtst - libdatrie - libjack2 - libpsl - libselinux - libsepol - libsysprof-capture - libthai - libuuid - libxkbcommon - lv2 - pcre - pcre2 - python3 - sqlite - webkitgtk - ]; - - # Link-time-optimization fails without these - cmakeFlags = [ - "-DCMAKE_AR=${stdenv.cc.cc}/bin/gcc-ar" - "-DCMAKE_RANLIB=${stdenv.cc.cc}/bin/gcc-ranlib" - "-DCMAKE_NM=${stdenv.cc.cc}/bin/gcc-nm" - ]; - - cmakeBuildType = "Release"; - - postPatch = "cd Plugin"; - - installPhase = '' - mkdir -p $out/lib/lv2 $out/lib/vst3 $out/lib/clap $out/bin $out/share/doc/CHOWTapeModel/ - cd CHOWTapeModel_artefacts/${cmakeBuildType} - cp -r LV2/CHOWTapeModel.lv2 $out/lib/lv2 - cp -r VST3/CHOWTapeModel.vst3 $out/lib/vst3 - cp -r CLAP/CHOWTapeModel.clap $out/lib/clap - cp Standalone/CHOWTapeModel $out/bin - cp ../../../../Manual/ChowTapeManual.pdf $out/share/doc/CHOWTapeModel/ - ''; - - # JUCE dlopens these, make sure they are in rpath - # Otherwise, segfault will happen - NIX_LDFLAGS = (toString [ - "-lX11" - "-lXext" - "-lXcursor" - "-lXinerama" - "-lXrandr" - ]); - - meta = with lib; { - homepage = "https://github.com/jatinchowdhury18/AnalogTapeModel"; - description = - "Physical modelling signal processing for analog tape recording. LV2, VST3, CLAP, and standalone"; - license = with licenses; [ gpl3Only ]; - maintainers = with maintainers; [ magnetophon ]; - platforms = platforms.linux; - # error: 'vvtanh' was not declared in this scope; did you mean 'tanh'? - # error: no matching function for call to 'juce::dsp::SIMDRegister<double>::SIMDRegister(xsimd::simd_batch_traits<xsimd::batch<double, 2> >::batch_bool_type)' - broken = stdenv.isAarch64; # since 2021-12-27 on hydra (update to 2.10): https://hydra.nixos.org/build/162558991 - mainProgram = "CHOWTapeModel"; - }; -} diff --git a/pkgs/applications/audio/ChowCentaur/default.nix b/pkgs/applications/audio/ChowCentaur/default.nix deleted file mode 100644 index 80f5768dc1578..0000000000000 --- a/pkgs/applications/audio/ChowCentaur/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, cairo, libxkbcommon -, xcbutilcursor, xcbutilkeysyms, xcbutil, libXrandr, libXinerama, libXcursor -, alsa-lib, libjack2, lv2, gcc-unwrapped }: - -stdenv.mkDerivation rec { - pname = "ChowCentaur"; - version = "1.4.0"; - - src = fetchFromGitHub { - owner = "jatinchowdhury18"; - repo = "KlonCentaur"; - rev = "v${version}"; - sha256 = "0mrzlf4a6f25xd7z9xanpyq7ybb4al01dzpjsgi0jkmlmadyhc4h"; - fetchSubmodules = true; - }; - - nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ - cairo - libxkbcommon - xcbutilcursor - xcbutilkeysyms - xcbutil - libXrandr - libXinerama - libXcursor - alsa-lib - libjack2 - lv2 - ]; - - cmakeFlags = [ - "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar" - "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib" - "-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm" - ]; - - installPhase = '' - mkdir -p $out/lib/lv2 $out/lib/vst3 - cd ChowCentaur/ChowCentaur_artefacts/Release - cp -r LV2/ChowCentaur.lv2 $out/lib/lv2 - cp -r VST3/ChowCentaur.vst3 $out/lib/vst3 - ''; - - meta = with lib; { - description = - "Digital emulation of the Klon Centaur guitar pedal using RNNs, Wave Digital Filters, and more"; - homepage = "https://github.com/jatinchowdhury18/KlonCentaur"; - license = licenses.bsd3; - platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ magnetophon ]; - }; -} diff --git a/pkgs/applications/audio/ChowKick/default.nix b/pkgs/applications/audio/ChowKick/default.nix deleted file mode 100644 index 0eec7ea32d32a..0000000000000 --- a/pkgs/applications/audio/ChowKick/default.nix +++ /dev/null @@ -1,107 +0,0 @@ -{ alsa-lib -, at-spi2-core -, brotli -, cmake -, curl -, dbus -, libepoxy -, fetchFromGitHub -, freeglut -, freetype -, gtk2-x11 -, lib -, libGL -, libXcursor -, libXdmcp -, libXext -, libXinerama -, libXrandr -, libXtst -, libdatrie -, libjack2 -, libpsl -, libselinux -, libsepol -, libsysprof-capture -, libthai -, libxkbcommon -, lv2 -, pcre -, pkg-config -, python3 -, sqlite -, stdenv -, util-linuxMinimal -, webkitgtk -}: - -stdenv.mkDerivation rec { - pname = "ChowKick"; - version = "1.1.1"; - - src = fetchFromGitHub { - owner = "Chowdhury-DSP"; - repo = pname; - rev = "v${version}"; - sha256 = "0amnp0p7ckbbr9dcbdnld1ryv46kvza2dj8m6hzmi7c1s4df8x5q"; - fetchSubmodules = true; - }; - - nativeBuildInputs = [ - pkg-config - cmake - ]; - buildInputs = [ - alsa-lib - at-spi2-core - brotli - curl - dbus - libepoxy - freeglut - freetype - gtk2-x11 - libGL - libXcursor - libXdmcp - libXext - libXinerama - libXrandr - libXtst - libdatrie - libjack2 - libpsl - libselinux - libsepol - libsysprof-capture - libthai - libxkbcommon - lv2 - pcre - python3 - sqlite - util-linuxMinimal - webkitgtk - ]; - - cmakeFlags = [ - "-DCMAKE_AR=${stdenv.cc.cc}/bin/gcc-ar" - "-DCMAKE_RANLIB=${stdenv.cc.cc}/bin/gcc-ranlib" - ]; - - installPhase = '' - mkdir -p $out/lib/lv2 $out/lib/vst3 $out/bin - cp -r ChowKick_artefacts/Release/LV2//${pname}.lv2 $out/lib/lv2 - cp -r ChowKick_artefacts/Release/VST3/${pname}.vst3 $out/lib/vst3 - cp ChowKick_artefacts/Release/Standalone/${pname} $out/bin - ''; - - meta = with lib; { - homepage = "https://github.com/Chowdhury-DSP/ChowKick"; - description = "Kick synthesizer based on old-school drum machine circuits"; - license = with licenses; [ bsd3 ]; - maintainers = with maintainers; [ magnetophon ]; - platforms = platforms.linux; - mainProgram = "ChowKick"; - }; -} diff --git a/pkgs/applications/audio/ChowPhaser/default.nix b/pkgs/applications/audio/ChowPhaser/default.nix deleted file mode 100644 index a828a1e1d0410..0000000000000 --- a/pkgs/applications/audio/ChowPhaser/default.nix +++ /dev/null @@ -1,76 +0,0 @@ -{ alsa-lib, at-spi2-core, cmake, curl, dbus, libepoxy, fetchFromGitHub, freeglut -, freetype, gcc-unwrapped, gtk3, lib, libGL, libXcursor, libXdmcp, libXext -, libXinerama, libXrandr, libXtst, libdatrie, libjack2, libpsl, libselinux -, libsepol, libsysprof-capture, libthai, libxkbcommon, pcre, pkg-config -, python3, sqlite, stdenv }: - -stdenv.mkDerivation rec { - pname = "ChowPhaser"; - version = "1.1.1"; - - src = fetchFromGitHub { - owner = "jatinchowdhury18"; - repo = "ChowPhaser"; - rev = "v${version}"; - fetchSubmodules = true; - sha256 = "sha256-9wo7ZFMruG3QNvlpILSvrFh/Sx6J1qnlWc8+aQyS4tQ="; - }; - - nativeBuildInputs = [ pkg-config cmake ]; - - buildInputs = [ - alsa-lib - at-spi2-core - curl - dbus - libepoxy - freeglut - freetype - gtk3 - libGL - libXcursor - libXdmcp - libXext - libXinerama - libXrandr - libXtst - libdatrie - libjack2 - libpsl - libselinux - libsepol - libsysprof-capture - libthai - libxkbcommon - pcre - python3 - sqlite - gcc-unwrapped - ]; - - cmakeFlags = [ - "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar" - "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib" - "-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm" - ]; - - installPhase = '' - mkdir -p $out/lib/lv2 $out/lib/vst3 $out/bin $out/share/doc/ChowPhaser/ - cd ChowPhaserMono_artefacts/Release - cp libChowPhaserMono_SharedCode.a $out/lib - cp -r VST3/ChowPhaserMono.vst3 $out/lib/vst3 - cp Standalone/ChowPhaserMono $out/bin - cd ../../ChowPhaserStereo_artefacts/Release - cp libChowPhaserStereo_SharedCode.a $out/lib - cp -r VST3/ChowPhaserStereo.vst3 $out/lib/vst3 - cp Standalone/ChowPhaserStereo $out/bin - ''; - - meta = with lib; { - homepage = "https://github.com/jatinchowdhury18/ChowPhaser"; - description = "Phaser effect based loosely on the Schulte Compact Phasing 'A'"; - license = with licenses; [ bsd3 ]; - maintainers = with maintainers; [ magnetophon ]; - platforms = platforms.linux; - }; -} |