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

31 lines
913 B
Nix
Raw Normal View History

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