2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, qttools
|
2021-06-10 03:57:09 +01:00
|
|
|
, alsa-lib, ftgl, libGLU, libjack2, qtbase, rtmidi, wrapQtAppsHook
|
2020-03-28 04:29:12 +00:00
|
|
|
}:
|
2012-04-22 17:55:12 +01:00
|
|
|
|
2020-03-28 04:29:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pianobooster";
|
2020-03-28 04:29:12 +00:00
|
|
|
version = "0.7.2b";
|
2012-04-22 17:55:12 +01:00
|
|
|
|
2020-03-28 04:29:12 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "captnfab";
|
|
|
|
repo = "PianoBooster";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "03xcdnlpsij22ca3i6xj19yqzn3q2ch0d32r73v0c96nm04gvhjj";
|
2012-04-22 17:55:12 +01:00
|
|
|
};
|
|
|
|
|
2020-11-04 15:16:15 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ];
|
2012-04-22 17:55:12 +01:00
|
|
|
|
2021-06-10 03:57:09 +01:00
|
|
|
buildInputs = [ alsa-lib ftgl libGLU libjack2 qtbase rtmidi ];
|
2014-01-25 16:54:28 +00:00
|
|
|
|
2020-03-28 04:29:12 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DOpenGL_GL_PREFERENCE=GLVND"
|
|
|
|
];
|
2012-04-22 17:55:12 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2012-04-22 17:55:12 +01:00
|
|
|
description = "A MIDI file player that teaches you how to play the piano";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/captnfab/PianoBooster";
|
2020-03-28 04:29:12 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2014-01-25 16:54:28 +00:00
|
|
|
platforms = platforms.linux;
|
2020-03-28 04:29:12 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu orivej ];
|
2012-04-22 17:55:12 +01:00
|
|
|
};
|
|
|
|
}
|