20 stdenv.mkDerivation rec {
21 pname = "pianobooster";
24 src = fetchFromGitHub {
25 owner = "pianobooster";
26 repo = "PianoBooster";
28 hash = "sha256-1WOlAm/HXSL6QK0Kd1mnFEZxxpMseTG+6WzgMNWt+RA=";
32 substituteInPlace src/Settings.cpp src/GuiMidiSetupDialog.cpp \
33 --replace "/usr/share/soundfonts" "${soundfont-fluid}/share/soundfonts" \
34 --replace "FluidR3_GM.sf2" "FluidR3_GM2-2.sf2"
55 "-DOpenGL_GL_PREFERENCE=GLVND"
61 --prefix PATH : "${lib.makeBinPath [ unzip ]}"
66 description = "MIDI file player that teaches you how to play the piano";
67 mainProgram = "pianobooster";
68 homepage = "https://github.com/pianobooster/PianoBooster";
69 license = licenses.gpl3Plus;
70 platforms = platforms.linux;
71 maintainers = with maintainers; [ orivej ];