From 51d366315ab96f998ed2e6ac06766b73cf93d2a2 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Wed, 14 Jan 2026 11:36:22 +0100 Subject: [PATCH] csound-qt: 1.1.3 -> 7.0.0-beta1 --- pkgs/by-name/cs/csound-qt/package.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/cs/csound-qt/package.nix b/pkgs/by-name/cs/csound-qt/package.nix index 1ef8907eaf19..e3fbdb5f0492 100644 --- a/pkgs/by-name/cs/csound-qt/package.nix +++ b/pkgs/by-name/cs/csound-qt/package.nix @@ -5,34 +5,35 @@ desktop-file-utils, fetchFromGitHub, python3, - python-qt, rtmidi, - libsForQt5, + qt6, + alsa-lib, }: stdenv.mkDerivation (finalAttrs: { pname = "csound-qt"; - version = "1.1.3"; + version = "7.0.0-beta1"; src = fetchFromGitHub { owner = "CsoundQt"; repo = "CsoundQt"; tag = "v${finalAttrs.version}"; - hash = "sha256-ZdQwWRAr6AKLmZ/L0lSxIlvWRLoZIKinn7BAQiR+luk="; + hash = "sha256-R/rGbLVJBjMimne3yDoPJKwrXyRqhfepV3g0Uaj/dbY="; }; patches = [ ./rtmidipath.patch ]; - nativeBuildInputs = with libsForQt5; [ + nativeBuildInputs = with qt6; [ qmake qtwebengine - qtxmlpatterns + qtdeclarative wrapQtAppsHook ]; buildInputs = [ + alsa-lib csound desktop-file-utils rtmidi @@ -41,15 +42,11 @@ stdenv.mkDerivation (finalAttrs: { qmakeFlags = [ "qcs.pro" "CONFIG+=rtmidi" - "CONFIG+=pythonqt" "CONFIG+=record_support" "CONFIG+=html_webengine" "CSOUND_INCLUDE_DIR=${csound}/include/csound" "CSOUND_LIBRARY_DIR=${csound}/lib" "RTMIDI_DIR=${rtmidi.src}" - "PYTHONQT_SRC_DIR=${python-qt.src}" - "PYTHONQT_LIB_DIR=${python-qt}/lib" - "LIBS+=-L${python-qt}/lib" "INSTALL_DIR=${placeholder "out"}" "SHARE_DIR=${placeholder "out"}/share" "PYTHON_DIR=${python3}"