@@ -1,49 +1,117 @@
1−{ lib, mkDerivation, fetchurl, fetchFromGitHub, chromaprint
2−, fftw, flac, faad2, glibcLocales, mp4v2
3−, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
4−, libGLU, libxcb, lilv, lv2, opusfile
5−, pkg-config, portaudio, portmidi, protobuf, qtbase, qtscript, qtsvg
6−, qtx11extras, rubberband, sconsPackages, sqlite, taglib, upower, vamp-plugin-sdk
1+{ lib
2+, mkDerivation
3+, fetchurl
4+, fetchFromGitHub
5+, chromaprint
6+, cmake
7+, faad2
8+, ffmpeg
9+, fftw
10+, flac
11+, glibcLocales
12+, hidapi
13+, lame
14+, libebur128
15+, libGLU
16+, libid3tag
17+, libkeyfinder
18+, libmad
19+, libmodplug
20+, libopus
21+, libsecret
22+, libshout
23+, libsndfile
24+, libusb1
25+, libvorbis
26+, libxcb
27+, lilv
28+, lv2
29+, mp4v2
30+, opusfile
31+, pcre
32+, pkg-config
33+, portaudio
34+, portmidi
35+, protobuf
36+, qtbase
37+, qtkeychain
38+, qtscript
39+, qtsvg
40+, qtx11extras
41+, rubberband
42+, serd
43+, sord
44+, soundtouch
45+, sratom
46+, sqlite
47+, taglib
48+, upower
49+, vamp-plugin-sdk
50+, wavpack
751}:
852
9−let
10− # Because libshout 2.4.2 and newer seem to break streaming in mixxx, build it
11− # with 2.4.1 instead.
12− libshout241 = libshout.overrideAttrs (o: rec {
13− name = "libshout-2.4.1";
14− src = fetchurl {
15− url = "http://downloads.xiph.org/releases/libshout/${name}.tar.gz";
16− sha256 = "0kgjpf8jkgyclw11nilxi8vyjk4s8878x23qyxnvybbgqbgbib7k";
17− };
18− });
19−in
2053mkDerivation rec {
2154 pname = "mixxx";
22− version = "2.2.4";
55+ version = "2.3.0";
2356
2457 src = fetchFromGitHub {
2558 owner = "mixxxdj";
2659 repo = "mixxx";
27− rev = "release-${version}";
28− sha256 = "1dj9li8av9b2kbm76jvvbdmihy1pyrw0s4xd7dd524wfhwr1llxr";
60+ rev = version;
61+ sha256 = "18sx4l3zzbn5142xfv5bp0crdd615a5728fkprqacnx3zpa144x6";
2962 };
3063
31− nativeBuildInputs = [ sconsPackages.scons_3_1_2 ];
64+ nativeBuildInputs = [ cmake pkg-config ];
65+
3266 buildInputs = [
33− chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout241 libsndfile
34− libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkg-config portaudio portmidi protobuf qtbase qtscript qtsvg
35− qtx11extras rubberband sqlite taglib upower vamp-plugin-sdk
67+ chromaprint
68+ faad2
69+ ffmpeg
70+ fftw
71+ flac
72+ glibcLocales
73+ hidapi
74+ lame
75+ libebur128
76+ libGLU
77+ libid3tag
78+ libkeyfinder
79+ libmad
80+ libmodplug
81+ libopus
82+ libsecret
83+ libshout
84+ libsndfile
85+ libusb1
86+ libvorbis
87+ libxcb
88+ lilv
89+ lv2
90+ mp4v2
91+ opusfile
92+ pcre
93+ portaudio
94+ portmidi
95+ protobuf
96+ qtbase
97+ qtkeychain
98+ qtscript
99+ qtsvg
100+ qtx11extras
101+ rubberband
102+ serd
103+ sord
104+ soundtouch
105+ sratom
106+ sqlite
107+ taglib
108+ upower
109+ vamp-plugin-sdk
110+ wavpack
36111 ];
37112
38113 enableParallelBuilding = true;
39114
40− sconsFlags = [
41− "build=release"
42− "qtdir=${qtbase}"
43− "faad=1"
44− "opus=1"
45− ];
46−
47115 qtWrapperArgs = [
48116 "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
49117 ];
@@ -52,7 +120,7 @@ mkDerivation rec {
52120 homepage = "https://mixxx.org";
53121 description = "Digital DJ mixing software";
54122 license = licenses.gpl2Plus;
55− maintainers = [ maintainers.goibhniu maintainers.bfortz ];
123+ maintainers = with maintainers; [ goibhniu bfortz ];
56124 platforms = platforms.linux;
57125 };
58126}