Merge pull request #298075 from wegank/drumstick-bump

libsForQt5.drumstick: 2.7.2 -> 2.9.0

authored by Weijia Wang and committed by GitHub 3d6b90d2 8da98e9d

+18 -12
+4 -4
pkgs/applications/audio/kmetronome/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, pkg-config, qttools, alsa-lib, drumstick, qtbase, qtsvg }: 1 + { lib, stdenv, fetchurl, cmake, pandoc, pkg-config, qttools, alsa-lib, drumstick, qtbase, qtsvg }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kmetronome"; 5 - version = "1.2.0"; 5 + version = "1.4.0"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2"; 9 - sha256 = "1ln0nm24w6bj7wc8cay08j5azzznigd39cbbw3h4skg6fxd8p0s7"; 9 + hash = "sha256-51uFAPR0xsY3z9rFc8SdSGu4ae/VzUmC1qC8RGdt48Y="; 10 10 }; 11 11 12 - nativeBuildInputs = [ cmake pkg-config qttools ]; 12 + nativeBuildInputs = [ cmake pandoc pkg-config qttools ]; 13 13 14 14 buildInputs = [ alsa-lib drumstick qtbase qtsvg ]; 15 15
+11 -7
pkgs/development/libraries/drumstick/default.nix
··· 1 1 { lib, stdenv, fetchurl 2 2 , cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, graphviz-nox, pkg-config, qttools, wrapQtAppsHook 3 - , alsa-lib, fluidsynth, libpulseaudio, qtbase, qtsvg, sonivox 3 + , alsa-lib, fluidsynth, libpulseaudio, qtbase, qtsvg, sonivox, qt5compat ? null 4 4 }: 5 5 6 + let 7 + isQt6 = lib.versions.major qtbase.version == "6"; 8 + in 6 9 stdenv.mkDerivation rec { 7 10 pname = "drumstick"; 8 - version = "2.7.2"; 11 + version = "2.9.0"; 9 12 10 13 src = fetchurl { 11 14 url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2"; 12 - hash = "sha256-5XxG5ur584fgW4oCONgMiWzV48Q02HEdmpb9+YhBFe0="; 15 + hash = "sha256-p0N8EeCtVEPCGzPwiRxPdI1XT5XQ5pcKYEDJXbYYTrM="; 13 16 }; 14 17 15 18 patches = [ ··· 28 31 29 32 buildInputs = [ 30 33 alsa-lib fluidsynth libpulseaudio qtbase qtsvg sonivox 31 - ]; 34 + ] ++ lib.optionals isQt6 [ qt5compat ]; 32 35 33 36 cmakeFlags = [ 34 - "-DUSE_DBUS=ON" 37 + (lib.cmakeBool "USE_DBUS" true) 38 + (lib.cmakeBool "USE_QT5" (!isQt6)) 35 39 ]; 36 40 37 41 meta = with lib; { 38 - maintainers = []; 39 - description = "MIDI libraries for Qt5/C++"; 42 + description = "MIDI libraries for Qt/C++"; 40 43 homepage = "https://drumstick.sourceforge.io/"; 41 44 license = licenses.gpl2Plus; 45 + maintainers = with maintainers; [ wegank ]; 42 46 platforms = platforms.linux; 43 47 }; 44 48 }
+1 -1
pkgs/top-level/all-packages.nix
··· 32473 32473 stdenv = stdenv; 32474 32474 }); 32475 32475 32476 - kmetronome = libsForQt5.callPackage ../applications/audio/kmetronome { }; 32476 + kmetronome = qt6Packages.callPackage ../applications/audio/kmetronome { }; 32477 32477 32478 32478 kmplayer = libsForQt5.callPackage ../applications/video/kmplayer { }; 32479 32479
+2
pkgs/top-level/qt6-packages.nix
··· 33 33 accounts-qt = callPackage ../development/libraries/accounts-qt { }; 34 34 appstream-qt = callPackage ../development/libraries/appstream/qt.nix { }; 35 35 36 + drumstick = callPackage ../development/libraries/drumstick { }; 37 + 36 38 fcitx5-chinese-addons = callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { }; 37 39 38 40 fcitx5-configtool = kdePackages.callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { };