62 src = fetchFromGitHub {
66 hash = "sha256-BOdXgA+z3sFE4ngAEhSbp1gDbsti1STJY2Yy6Hp+zTE=";
69 nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 ];
125 qtWrapperArgs+=(--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive ''${gappsWrapperArgs[@]})
128 # mixxx installs udev rules to DATADIR instead of SYSCONFDIR
129 # let's disable this and install udev rules manually via postInstall
130 # see https://github.com/mixxxdj/mixxx/blob/2.3.5/CMakeLists.txt#L1381-L1392
132 "-DINSTALL_USER_UDEV_RULES=OFF"
135 postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
136 rules="$src/res/linux/mixxx-usb-uaccess.rules"
137 if [ ! -f "$rules" ]; then
138 echo "$rules is missing, must update the Nix file."
141 mkdir -p "$out/lib/udev/rules.d"
142 cp "$rules" "$out/lib/udev/rules.d/69-mixxx-usb-uaccess.rules"
146 homepage = "https://mixxx.org";
147 description = "Digital DJ mixing software";
148 mainProgram = "mixxx";
149 license = licenses.gpl2Plus;
150 maintainers = with maintainers; [ bfortz benley ];
151 platforms = platforms.linux;