diff options
author | ckie <git-525ff67@ckie.dev> | 2022-01-31 01:30:38 +0200 |
---|---|---|
committer | ckie <git-525ff67@ckie.dev> | 2022-02-07 19:09:24 +0200 |
commit | 202f13c7b076fe878ae1b401cf1114c3f6ad2969 (patch) | |
tree | a79eb2443687a5e6dc6c9a00989188067b3f467f /pkgs/games/linthesia | |
parent | 1c583d89e056e6d5ca63e4abf86d3803970a89bd (diff) |
linthesia: init at 0.8.0
Diffstat (limited to 'pkgs/games/linthesia')
-rw-r--r-- | pkgs/games/linthesia/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/games/linthesia/default.nix b/pkgs/games/linthesia/default.nix new file mode 100644 index 0000000000000..0914722a9acbd --- /dev/null +++ b/pkgs/games/linthesia/default.nix @@ -0,0 +1,38 @@ +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, python3, libGL, libGLU +, alsa-lib, glibmm, sqlite, SDL2, SDL2_ttf_2_0_15, SDL2_image, gtk3, wrapGAppsHook }: + +stdenv.mkDerivation rec { + pname = "linthesia"; + version = "0.8.0"; + + src = fetchFromGitHub { + owner = "linthesia"; + repo = "linthesia"; + rev = version; + sha256 = "sha256-bdW0RlV14ttnK8NizfNfXmZ7zlJOqZCpVvt8vT2Pjys="; + }; + + postPatch = '' + patchShebangs meson_post_install.py + ''; + + nativeBuildInputs = [ meson ninja pkg-config python3 wrapGAppsHook ]; + buildInputs = [ + libGL + libGLU + alsa-lib + glibmm + sqlite + SDL2 + SDL2_ttf_2_0_15 + SDL2_image + gtk3.out # icon cache + ]; + + meta = with lib; { + description = "A game of playing music using a MIDI keyboard following a MIDI file"; + inherit (src.meta) homepage; + license = licenses.gpl2Plus; + platforms = platforms.linux; + }; +} |