44 fetchFromGitHub ,
55 fetchpatch ,
66 pkg-config ,
7- qt5 ,
7+ qt6 ,
88 cmake ,
99 ninja ,
1010 avahi ,
3838 nlohmann_json ,
3939 xar ,
4040 makeBinaryWrapper ,
41+ serverSqliteSupport ? true ,
4142} :
4243
4344let
5556 ninja
5657 pkg-config
5758 python3
58- qt5 . wrapQtAppsHook
59- qt5 . qttools
59+ qt6 . wrapQtAppsHook
60+ qt6 . qttools
6061 makeBinaryWrapper
6162 ]
6263 ++ ( overrides . nativeBuildInputs or [ ] ) ;
7879 "-D CMAKE_UNITY_BUILD=ON" # Upstream uses this in their build pipeline to speed up builds
7980 "-D bundled-gsl=OFF"
8081 "-D bundled-json=OFF"
82+ "-D use-timestamps=OFF"
8183 ]
8284 ++ ( overrides . cmakeFlags or [ ] ) ;
8385
107109
108110 platforms = lib . platforms . darwin ;
109111 nativeBuildInputs = [
110- qt5 . qttools
112+ qt6 . qttools
111113 ] ;
112114
113115 buildInputs = [
117119 libsndfile
118120 libvorbis
119121 speexdsp
120- qt5 . qtsvg
122+ qt6 . qtsvg
121123 rnnoise
122124 ]
123125 ++ lib . optional ( ! jackSupport && alsaSupport ) alsa-lib
132134 cmakeFlags = [
133135 "-D server=OFF"
134136 "-D bundled-speex=OFF"
137+ "-D bundled-rnnoise=OFF"
135138 "-D bundle-qt-translations=OFF"
136139 "-D update=OFF"
137140 "-D overlay-xcompile=OFF"
151154 env . NIX_CFLAGS_COMPILE = lib . optionalString speechdSupport "-I${ speechd-minimal } /include/speech-dispatcher" ;
152155
153156 patches = [
154- ./disable-overlay-build.patch
155- ./fix-plugin-copy.patch
157+ # ./disable-overlay-build.patch
158+ # ./fix-plugin-copy.patch
156159 ] ;
157160
158161 postInstall = lib . optionalString stdenv . hostPlatform . isDarwin ''
193196 cmakeFlags = [
194197 "-D client=OFF"
195198 ( lib . cmakeBool "ice" iceSupport )
199+ ( lib . cmakeBool "enable-mysql" false )
200+ ( lib . cmakeBool "enable-postgresql" false )
201+ ( lib . cmakeBool "enable-sqlite" serverSqliteSupport )
196202 ]
197203 ++ lib . optionals iceSupport [
198204 "-D Ice_HOME=${ lib . getDev zeroc-ice } ;${ lib . getLib zeroc-ice } "
@@ -216,14 +222,14 @@ let
216222 } source ;
217223
218224 source = rec {
219- version = "1.5.857 " ;
225+ version = "1.6.870 " ;
220226
221227 # Needs submodules
222228 src = fetchFromGitHub {
223229 owner = "mumble-voip" ;
224230 repo = "mumble" ;
225231 tag = "v${ version } " ;
226- hash = "sha256-4ySak2nzT8p48waMgBc9kLrvFB8716e7p0G4trzuh1k =" ;
232+ hash = "sha256-FpZbFY/RvQOEDQAXkm1f5Oy00UUG11Az7LJnWfoinOM =" ;
227233 fetchSubmodules = true ;
228234 } ;
229235 } ;
0 commit comments