mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
e37e19ff61
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/yoshimi/versions. These checks were done: - built on NixOS - /nix/store/jpvzkcfk0dablksr19lnwi7xajm7d7bh-yoshimi-1.5.8/bin/yoshimi passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 1.5.8 with grep in /nix/store/jpvzkcfk0dablksr19lnwi7xajm7d7bh-yoshimi-1.5.8 - directory tree listing: https://gist.github.com/53f8899fb2961c61707a03b4bcb225d1 - du listing: https://gist.github.com/3b61f944f2b81b3f5bc299051a284cec
45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{ stdenv, fetchurl, alsaLib, boost, cairo, cmake, fftwSinglePrec, fltk, pcre
|
|
, libjack2, libsndfile, libXdmcp, readline, lv2, libGLU_combined, minixml, pkgconfig, zlib, xorg
|
|
}:
|
|
|
|
assert stdenv ? glibc;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "yoshimi-${version}";
|
|
version = "1.5.8";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/yoshimi/${name}.tar.bz2";
|
|
sha256 = "0gwsr5srzy28hwqhfzrc8pswysmyra8kbww3bxfx8bq4mdjifdj6";
|
|
};
|
|
|
|
buildInputs = [
|
|
alsaLib boost cairo fftwSinglePrec fltk libjack2 libsndfile libXdmcp readline lv2 libGLU_combined
|
|
minixml zlib xorg.libpthreadstubs pcre
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
patchPhase = ''
|
|
substituteInPlace src/Misc/Config.cpp --replace /usr $out
|
|
substituteInPlace src/Misc/Bank.cpp --replace /usr $out
|
|
'';
|
|
|
|
preConfigure = "cd src";
|
|
|
|
cmakeFlags = [ "-DFLTK_MATH_LIBRARY=${stdenv.glibc.out}/lib/libm.so" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "High quality software synthesizer based on ZynAddSubFX";
|
|
longDescription = ''
|
|
Yoshimi delivers the same synthesizer capabilities as
|
|
ZynAddSubFX along with very good Jack and Alsa midi/audio
|
|
functionality on Linux
|
|
'';
|
|
homepage = http://yoshimi.sourceforge.net;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
};
|
|
}
|