forked from mirrors/nixpkgs
linthesia: init at 0.8.0
This commit is contained in:
parent
1c583d89e0
commit
202f13c7b0
38
pkgs/games/linthesia/default.nix
Normal file
38
pkgs/games/linthesia/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -22640,6 +22640,8 @@ with pkgs;
|
|||
|
||||
linuxConsoleTools = callPackage ../os-specific/linux/consoletools { };
|
||||
|
||||
linthesia = callPackage ../games/linthesia/default.nix { };
|
||||
|
||||
libreelec-dvb-firmware = callPackage ../os-specific/linux/firmware/libreelec-dvb-firmware { };
|
||||
|
||||
openiscsi = callPackage ../os-specific/linux/open-iscsi { };
|
||||
|
|
Loading…
Reference in a new issue