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

32 lines
870 B
Nix
Raw Normal View History

{ stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jack2, libogg
2014-06-26 20:25:07 +01:00
, libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4, freetype
2014-01-19 12:20:43 +00:00
}:
stdenv.mkDerivation rec {
name = "lmms-${version}";
2014-01-19 12:13:32 +00:00
version = "0.4.15";
src = fetchurl {
url = "mirror://sourceforge/lmms/${name}.tar.bz2";
2014-01-19 12:13:32 +00:00
sha256 = "02q2gbsqwk3hf9kvzz58a5bxmlb4cfr2mzy41wdvbxxdm2pcl101";
};
2014-01-19 12:20:43 +00:00
buildInputs = [
SDL alsaLib cmake fftwSinglePrec jack2 libogg libsamplerate
2014-01-19 12:20:43 +00:00
libsndfile pkgconfig pulseaudio qt4
];
2014-06-26 20:25:07 +01:00
# work around broken build system of 0.4.*
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Linux MultiMedia Studio";
homepage = "http://lmms.sourceforge.net";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.goibhniu ];
};
}