8c336d0782
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/zynaddsubfx/versions
31 lines
921 B
Nix
31 lines
921 B
Nix
{ stdenv, fetchurl, alsaLib, cairo, cmake, libjack2, fftw, fltk13, lash, libjpeg
|
|
, libXpm, minixml, ntk, pkgconfig, zlib, liblo
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zynaddsubfx-${version}";
|
|
version = "3.0.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/zynaddsubfx/zynaddsubfx-${version}.tar.bz2";
|
|
sha256 = "18m4ax0x06y1hx4g2g3gf02v0bldkrrb5m7fsr5jlfp1kvjd2j1x";
|
|
};
|
|
|
|
buildInputs = [ alsaLib cairo libjack2 fftw fltk13 lash libjpeg libXpm minixml ntk zlib liblo ];
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
patchPhase = ''
|
|
substituteInPlace src/Misc/Config.cpp --replace /usr $out
|
|
'';
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "High quality software synthesizer";
|
|
homepage = http://zynaddsubfx.sourceforge.net;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
|
|
};
|
|
}
|