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

47 lines
1.3 KiB
Nix
Raw Normal View History

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