summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/audio/carla
diff options
context:
space:
mode:
authorYuu Yin <yuu@anche.no>2023-02-21 00:16:29 -0300
committerYuu Yin <yuu@anche.no>2023-03-03 11:13:09 +0000
commitd19490339b900fff1de43876702964f3d41557ea (patch)
tree40b5cf663551f4be7737926635ed65e8177aa1e0 /pkgs/applications/audio/carla
parenta3059850c5d6b53975d85e00b879819e1e3585e3 (diff)
carla: 2.5.1 -> 2.5.3
Co-authored-by: Alexandros Theodotou <alex@zrythm.org> Co-authored-by: Bart Brouns <bart@magnetophon.nl> Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/audio/carla')
-rw-r--r--pkgs/applications/audio/carla/default.nix33
1 files changed, 24 insertions, 9 deletions
diff --git a/pkgs/applications/audio/carla/default.nix b/pkgs/applications/audio/carla/default.nix
index 70ef1ebdf644..26a5eab3b2e7 100644
--- a/pkgs/applications/audio/carla/default.nix
+++ b/pkgs/applications/audio/carla/default.nix
@@ -1,9 +1,25 @@
-{ lib, stdenv, fetchFromGitHub, alsa-lib, file, fluidsynth, jack2,
- liblo, libpulseaudio, libsndfile, pkg-config, python3Packages,
- which, withFrontend ? true,
- withQt ? true, qtbase ? null, wrapQtAppsHook ? null,
- withGtk2 ? true, gtk2 ? null,
- withGtk3 ? true, gtk3 ? null }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, alsa-lib
+, file
+, fluidsynth
+, jack2
+, liblo
+, libpulseaudio
+, libsndfile
+, pkg-config
+, python3Packages
+, which
+, gtk2 ? null
+, gtk3 ? null
+, qtbase ? null
+, withFrontend ? true
+, withGtk2 ? true
+, withGtk3 ? true
+, withQt ? true
+, wrapQtAppsHook ? null
+}:
assert withFrontend -> python3Packages ? pyqt5;
assert withQt -> qtbase != null;
@@ -13,13 +29,13 @@ assert withGtk3 -> gtk3 != null;
stdenv.mkDerivation rec {
pname = "carla";
- version = "2.5.1";
+ version = "2.5.3";
src = fetchFromGitHub {
owner = "falkTX";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-SN+9Q5v0bv+kQcYLBJmSCd9WIGSeQuOZze8LVwF20EA=";
+ hash = "sha256-J0C3GLdlLMkm3LHl6l3OI2rA73A6z5MMcNJ1I1T0pbI=";
};
nativeBuildInputs = [
@@ -60,7 +76,6 @@ stdenv.mkDerivation rec {
patchPythonScript "$f"
done
patchPythonScript "$out/share/carla/carla_settings.py"
- patchPythonScript "$out/share/carla/carla_database.py"
for program in $out/bin/*; do
wrapQtApp "$program" \