mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
32 lines
863 B
Nix
32 lines
863 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, qttools
|
|
, alsa-lib, ftgl, libGLU, libjack2, qtbase, rtmidi, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pianobooster";
|
|
version = "0.7.2b";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "captnfab";
|
|
repo = "PianoBooster";
|
|
rev = "v${version}";
|
|
sha256 = "03xcdnlpsij22ca3i6xj19yqzn3q2ch0d32r73v0c96nm04gvhjj";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ];
|
|
|
|
buildInputs = [ alsa-lib ftgl libGLU libjack2 qtbase rtmidi ];
|
|
|
|
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";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ goibhniu orivej ];
|
|
};
|
|
}
|