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