nixpkgs/pkgs/games/linthesia/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.0 KiB
Nix
Raw Normal View History

2023-06-22 12:04:55 +00:00
{ lib
, SDL2
, SDL2_image
, SDL2_ttf
2023-06-22 12:04:55 +00:00
, alsa-lib
, fetchFromGitHub
, glibmm
, gtk3
, libGL
, libGLU
, meson
, ninja
, pkg-config
, python3
, sqlite
, stdenv
, wrapGAppsHook3
2023-06-22 12:04:55 +00:00
}:
2022-01-30 23:30:38 +00:00
stdenv.mkDerivation rec {
pname = "linthesia";
version = "unstable-2023-05-23";
2022-01-30 23:30:38 +00:00
src = fetchFromGitHub {
owner = "linthesia";
repo = "linthesia";
rev = "1f2701241f8865c2f5c14a97b81ae64884cf0396";
sha256 = "sha256-3uPcpDUGtAGW9q/u8Cn+0bNqikII1Y/a0PKARW/5nao=";
2022-01-30 23:30:38 +00:00
};
postPatch = ''
patchShebangs meson_post_install.py
'';
nativeBuildInputs = [ meson ninja pkg-config python3 wrapGAppsHook3 ];
2022-01-30 23:30:38 +00:00
buildInputs = [
libGL
libGLU
alsa-lib
glibmm
sqlite
SDL2
SDL2_ttf
2022-01-30 23:30:38 +00:00
SDL2_image
gtk3.out # icon cache
];
meta = with lib; {
description = "Game of playing music using a MIDI keyboard following a MIDI file";
mainProgram = "linthesia";
2022-01-30 23:30:38 +00:00
inherit (src.meta) homepage;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
2022-01-30 23:30:38 +00:00
};
}