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

48 lines
1.3 KiB
Nix
Raw Normal View History

2018-08-31 13:38:54 +01:00
{ stdenv, fetchFromGitHub, makeWrapper, chromaprint, fetchpatch
, fftw, flac, faad2, glibcLocales, mp4v2
2018-01-07 22:52:26 +00:00
, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
2018-10-19 09:43:04 +01:00
, opusfile
2018-01-07 22:52:26 +00:00
, pkgconfig, portaudio, portmidi, protobuf, qt4, rubberband, scons, sqlite
2018-08-26 12:13:18 +01:00
, taglib, upower, vampSDK
}:
stdenv.mkDerivation rec {
name = "mixxx-${version}";
version = "2.1.5";
2018-08-26 12:13:18 +01:00
src = fetchFromGitHub {
owner = "mixxxdj";
repo = "mixxx";
rev = "release-${version}";
sha256 = "0h14pwglz03sdmgzviypv1qa1xfjclrnhyqaq5nd60j47h4z39dr";
};
2018-08-31 13:38:54 +01:00
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
2018-08-31 13:38:54 +01:00
chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout libsndfile
2018-10-19 09:43:04 +01:00
libusb1 libvorbis opusfile pkgconfig portaudio portmidi protobuf qt4
2018-08-26 12:13:18 +01:00
rubberband scons sqlite taglib upower vampSDK
];
sconsFlags = [
"build=release"
"qtdir=${qt4}"
2018-01-07 22:52:26 +00:00
"faad=1"
2018-10-19 09:43:04 +01:00
"opus=1"
];
2018-08-31 13:38:54 +01:00
fixupPhase = ''
wrapProgram $out/bin/mixxx \
--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;
};
}