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

31 lines
921 B
Nix
Raw Normal View History

2017-06-15 01:44:46 +02:00
{ stdenv, fetchurl, alsaLib, cairo, cmake, libjack2, fftw, fltk13, lash, libjpeg
, libXpm, minixml, ntk, pkgconfig, zlib, liblo
}:
stdenv.mkDerivation rec {
name = "zynaddsubfx-${version}";
2017-12-11 08:00:51 +01:00
version = "3.0.3";
src = fetchurl {
2016-03-23 19:26:36 +01:00
url = "mirror://sourceforge/zynaddsubfx/zynaddsubfx-${version}.tar.bz2";
2017-12-11 08:00:51 +01:00
sha256 = "1hfpiqdm337gl4ynkmmp2qss2m5z8mzqzjrbiyg6w1v4js7l9phi";
};
2017-06-15 01:44:46 +02:00
buildInputs = [ alsaLib cairo libjack2 fftw fltk13 lash libjpeg libXpm minixml ntk zlib liblo ];
nativeBuildInputs = [ cmake pkgconfig ];
2017-12-11 08:00:51 +01:00
patchPhase = ''
substituteInPlace src/Misc/Config.cpp --replace /usr $out
'';
hardeningDisable = [ "format" ];
2016-02-20 22:51:26 +01:00
meta = with stdenv.lib; {
description = "High quality software synthesizer";
homepage = http://zynaddsubfx.sourceforge.net;
license = licenses.gpl2;
platforms = platforms.linux;
2016-03-23 19:26:36 +01:00
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
};
}