nixpkgs/pkgs/applications/audio/pianobooster/default.nix

32 lines
863 B
Nix
Raw Normal View History

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