mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
31 lines
913 B
Nix
31 lines
913 B
Nix
{ 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 {
|
|
url = "mirror://sourceforge/zynaddsubfx/zynaddsubfx-${version}.tar.bz2";
|
|
sha256 = "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|