nixpkgs/pkgs/applications/audio/mixxx/default.nix

47 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv, mkDerivation, fetchFromGitHub, chromaprint
2018-08-31 13:38:54 +01:00
, fftw, flac, faad2, glibcLocales, mp4v2
2018-01-07 22:52:26 +00:00
, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
2019-04-07 12:54:13 +01:00
, libGLU, libxcb, lilv, lv2, opusfile
, pkgconfig, portaudio, portmidi, protobuf, qtbase, qtscript, qtsvg
, qtx11extras, rubberband, scons, sqlite, taglib, upower, vampSDK
}:
2019-08-04 22:11:09 +01:00
mkDerivation rec {
pname = "mixxx";
2019-08-16 12:54:06 +01:00
version = "2.2.2";
2018-08-26 12:13:18 +01:00
src = fetchFromGitHub {
owner = "mixxxdj";
repo = "mixxx";
rev = "release-${version}";
2019-08-16 12:54:06 +01:00
sha256 = "0dmkvcsgq7abxqd4wms8c4w0mr5c53z7n5r8jgzp4swz9nmfjpfg";
};
buildInputs = [
2018-08-31 13:38:54 +01:00
chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout libsndfile
2019-04-07 12:54:13 +01:00
libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkgconfig portaudio portmidi protobuf qtbase qtscript qtsvg
qtx11extras rubberband scons sqlite taglib upower vampSDK
];
enableParallelBuilding = true;
sconsFlags = [
"build=release"
2019-04-07 12:54:13 +01:00
"qtdir=${qtbase}"
2018-01-07 22:52:26 +00:00
"faad=1"
2018-10-19 09:43:04 +01:00
"opus=1"
];
qtWrapperArgs = [
"--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
];
meta = with stdenv.lib; {
2017-08-03 20:28:31 +01:00
homepage = https://mixxx.org;
description = "Digital DJ mixing software";
license = licenses.gpl2Plus;
2018-08-26 12:13:18 +01:00
maintainers = [ maintainers.aszlig maintainers.goibhniu maintainers.bfortz ];
platforms = platforms.linux;
};
}