diff options
-rw-r--r-- | pkgs/applications/audio/carla/default.nix | 33 |
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" \ |