2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, qttools
|
2020-11-06 00:33:48 +00:00
|
|
|
, alsaLib, ftgl, libGLU, libjack2, qtbase, rtmidi, wrapQtAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pianobooster";
|
|
|
|
version = "0.7.2b";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "captnfab";
|
|
|
|
repo = "PianoBooster";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "03xcdnlpsij22ca3i6xj19yqzn3q2ch0d32r73v0c96nm04gvhjj";
|
|
|
|
};
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ alsaLib ftgl libGLU libjack2 qtbase rtmidi ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DOpenGL_GL_PREFERENCE=GLVND"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A MIDI file player that teaches you how to play the piano";
|
|
|
|
homepage = "https://github.com/captnfab/PianoBooster";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ goibhniu orivej ];
|
|
|
|
};
|
|
|
|
}
|