Skip to content

Commit 4abac05

Browse files
authored
mixxx: 2.4.2 -> 2.5.0 (#368403)
Changes performed: - build with Qt6, as per upstream recommendation - use qtWrapperArgs attr, as shown in Nixpkgs manual - fix license - add changelog
1 parent 2c0af53 commit 4abac05

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

pkgs/applications/audio/mixxx/default.nix

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
lib,
33
stdenv,
4-
mkDerivation,
54
fetchFromGitHub,
65
chromaprint,
76
cmake,
@@ -38,11 +37,11 @@
3837
portaudio,
3938
portmidi,
4039
protobuf,
40+
qt5compat,
4141
qtbase,
42+
qtdeclarative,
4243
qtkeychain,
43-
qtscript,
4444
qtsvg,
45-
qtx11extras,
4645
rubberband,
4746
serd,
4847
sord,
@@ -53,28 +52,26 @@
5352
upower,
5453
vamp-plugin-sdk,
5554
wavpack,
56-
wrapGAppsHook3,
55+
wrapQtAppsHook,
5756
}:
5857

59-
mkDerivation rec {
58+
stdenv.mkDerivation rec {
6059
pname = "mixxx";
61-
version = "2.4.2";
60+
version = "2.5.0";
6261

6362
src = fetchFromGitHub {
6463
owner = "mixxxdj";
6564
repo = "mixxx";
6665
rev = version;
67-
hash = "sha256-YfpFRLosIIND+HnZN+76ZY0dQqEJaFkWZS84gZOCdfc=";
66+
hash = "sha256-1ZE2hVwacZve0+IOQs+htK/kl7zFsOWkh/KcrnI6u/M=";
6867
};
6968

7069
nativeBuildInputs = [
7170
cmake
7271
pkg-config
73-
wrapGAppsHook3
72+
wrapQtAppsHook
7473
];
7574

76-
dontWrapGApps = true;
77-
7875
buildInputs = [
7976
chromaprint
8077
faad2
@@ -109,11 +106,11 @@ mkDerivation rec {
109106
portaudio
110107
portmidi
111108
protobuf
109+
qt5compat
112110
qtbase
111+
qtdeclarative
113112
qtkeychain
114-
qtscript
115113
qtsvg
116-
qtx11extras
117114
rubberband
118115
serd
119116
sord
@@ -126,9 +123,7 @@ mkDerivation rec {
126123
wavpack
127124
];
128125

129-
preFixup = ''
130-
qtWrapperArgs+=(--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive ''${gappsWrapperArgs[@]})
131-
'';
126+
qtWrapperArgs = [ "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive" ];
132127

133128
# mixxx installs udev rules to DATADIR instead of SYSCONFDIR
134129
# let's disable this and install udev rules manually via postInstall
@@ -151,10 +146,11 @@ mkDerivation rec {
151146
homepage = "https://mixxx.org";
152147
description = "Digital DJ mixing software";
153148
mainProgram = "mixxx";
154-
license = licenses.gpl2Plus;
149+
changelog = "https://github.com/mixxxdj/mixxx/blob/${version}/CHANGELOG.md";
150+
license = licenses.gpl2;
155151
maintainers = with maintainers; [
156-
bfortz
157152
benley
153+
bfortz
158154
];
159155
platforms = platforms.linux;
160156
};

pkgs/top-level/all-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14602,7 +14602,7 @@ with pkgs;
1460214602

1460314603
minitube = libsForQt5.callPackage ../applications/video/minitube { };
1460414604

14605-
mixxx = libsForQt5.callPackage ../applications/audio/mixxx { };
14605+
mixxx = qt6Packages.callPackage ../applications/audio/mixxx { };
1460614606

1460714607
mldonkey = callPackage ../applications/networking/p2p/mldonkey {
1460814608
ocamlPackages = ocaml-ng.ocamlPackages_4_14_unsafe_string;

0 commit comments

Comments
 (0)