mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
a8e867f990
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/k0c0kks60fdnismml72d956yca922nv4-yoshimi-1.5.8.2/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.2 with grep in /nix/store/k0c0kks60fdnismml72d956yca922nv4-yoshimi-1.5.8.2 - directory tree listing: https://gist.github.com/cba4c23026b96fbb6a4cd4ee08212a0f - du listing: https://gist.github.com/867590c63053855dd8091a35257291d2
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.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/yoshimi/${name}.tar.bz2";
|
|
sha256 = "1kg7d6mnzdwzsqhrf7pmrf1hzgfpbpm5lv8xkaz32wiv391qrnxc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|