61 src = fetchFromGitHub {
65 hash = "sha256-JSWUzerm7D6AKq6g/9eRrt3EE2movRdM+VLUg07sLHo=";
68 nativeBuildInputs = [ cmake pkg-config ];
122 "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
125 # mixxx installs udev rules to DATADIR instead of SYSCONFDIR
126 # let's disable this and install udev rules manually via postInstall
127 # see https://github.com/mixxxdj/mixxx/blob/2.3.5/CMakeLists.txt#L1381-L1392
129 "-DINSTALL_USER_UDEV_RULES=OFF"
132 postInstall = lib.optionalString stdenv.isLinux ''
133 rules="$src/res/linux/mixxx-usb-uaccess.rules"
134 if [ ! -f "$rules" ]; then
135 echo "$rules is missing, must update the Nix file."
138 mkdir -p "$out/lib/udev/rules.d"
139 cp "$rules" "$out/lib/udev/rules.d/69-mixxx-usb-uaccess.rules"
143 homepage = "https://mixxx.org";
144 description = "Digital DJ mixing software";
145 mainProgram = "mixxx";
146 license = licenses.gpl2Plus;
147 maintainers = with maintainers; [ goibhniu bfortz ];
148 platforms = platforms.linux;