11{
2+ cli11 ,
23 lib ,
34 stdenv ,
45 fetchFromGitHub ,
56 fetchpatch ,
67 pkg-config ,
7- qt5 ,
8+ qt6 ,
89 cmake ,
910 ninja ,
1011 avahi ,
3435 libpulseaudio ,
3536 speechdSupport ? false ,
3637 speechd-minimal ,
37- microsoft-gsl ,
3838 nlohmann_json ,
3939 xar ,
4040 makeBinaryWrapper ,
41+ spdlog ,
42+ utfcpp ,
43+ serverSqliteSupport ? true ,
4144} :
4245
4346let
5558 ninja
5659 pkg-config
5760 python3
58- qt5 . wrapQtAppsHook
59- qt5 . qttools
61+ qt6 . wrapQtAppsHook
62+ qt6 . qttools
6063 makeBinaryWrapper
6164 ]
6265 ++ ( overrides . nativeBuildInputs or [ ] ) ;
6366
6467 buildInputs = [
6568 boost
69+ cli11
6670 poco
6771 protobuf
68- microsoft-gsl
6972 nlohmann_json
73+ spdlog
74+ utfcpp
7075 ]
7176 ++ lib . optionals stdenv . hostPlatform . isLinux [ avahi ]
7277 ++ ( overrides . buildInputs or [ ] ) ;
7681 "-D CMAKE_CXX_STANDARD=17" # protobuf >22 requires C++ 17
7782 "-D BUILD_NUMBER=${ lib . versions . patch source . version } "
7883 "-D CMAKE_UNITY_BUILD=ON" # Upstream uses this in their build pipeline to speed up builds
79- "-D bundled-gsl=OFF"
8084 "-D bundled-json=OFF"
85+ "-D use-timestamps=OFF"
86+ "-D bundled-cli11=OFF"
87+ "-D bundled-spdlog=OFF"
88+ "-D bundled-utfcpp=OFF"
8189 ]
8290 ++ ( overrides . cmakeFlags or [ ] ) ;
8391
107115
108116 platforms = lib . platforms . darwin ;
109117 nativeBuildInputs = [
110- qt5 . qttools
118+ qt6 . qttools
111119 ] ;
112120
113121 buildInputs = [
117125 libsndfile
118126 libvorbis
119127 speexdsp
120- qt5 . qtsvg
128+ qt6 . qtsvg
121129 rnnoise
122130 ]
123131 ++ lib . optional ( ! jackSupport && alsaSupport ) alsa-lib
132140 cmakeFlags = [
133141 "-D server=OFF"
134142 "-D bundled-speex=OFF"
143+ "-D bundled-rnnoise=OFF"
135144 "-D bundle-qt-translations=OFF"
136145 "-D update=OFF"
137146 "-D overlay-xcompile=OFF"
151160 env . NIX_CFLAGS_COMPILE = lib . optionalString speechdSupport "-I${ speechd-minimal } /include/speech-dispatcher" ;
152161
153162 patches = [
154- ./disable-overlay-build.patch
155163 ./fix-plugin-copy.patch
156164 ] ;
157165
165173 --source-dir=$NIX_BUILD_TOP/source/ \
166174 --binary-dir=$out \
167175 --only-appbundle \
176+ --no-overlay \
168177 --version "${ source . version } "
169178
170179 mkdir -p $out/Applications $out/bin
193202 cmakeFlags = [
194203 "-D client=OFF"
195204 ( lib . cmakeBool "ice" iceSupport )
205+ ( lib . cmakeBool "enable-mysql" false )
206+ ( lib . cmakeBool "enable-postgresql" false )
207+ ( lib . cmakeBool "enable-sqlite" serverSqliteSupport )
196208 ]
197209 ++ lib . optionals iceSupport [
198210 "-D Ice_HOME=${ lib . getDev zeroc-ice } ;${ lib . getLib zeroc-ice } "
@@ -216,14 +228,14 @@ let
216228 } source ;
217229
218230 source = rec {
219- version = "1.5.857 " ;
231+ version = "1.6.870 " ;
220232
221233 # Needs submodules
222234 src = fetchFromGitHub {
223235 owner = "mumble-voip" ;
224236 repo = "mumble" ;
225237 tag = "v${ version } " ;
226- hash = "sha256-4ySak2nzT8p48waMgBc9kLrvFB8716e7p0G4trzuh1k =" ;
238+ hash = "sha256-FpZbFY/RvQOEDQAXkm1f5Oy00UUG11Az7LJnWfoinOM =" ;
227239 fetchSubmodules = true ;
228240 } ;
229241 } ;
0 commit comments