animatch: init at 1.0.3
This commit is contained in:
parent
1c8090feb8
commit
1284b39177
2 changed files with 43 additions and 0 deletions
41
pkgs/games/animatch/default.nix
Normal file
41
pkgs/games/animatch/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, allegro5
|
||||
, cmake
|
||||
, fetchFromGitLab
|
||||
, libGL
|
||||
, stdenv
|
||||
, xorg
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "animatch";
|
||||
version = "1.0.3";
|
||||
src = fetchFromGitLab {
|
||||
owner = "HolyPangolin";
|
||||
repo = "animatch";
|
||||
fetchSubmodules = true;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-zBV45WMAXtCpPPbDpr04K/a9UtZ4KLP9nUauBlbhrFo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
allegro5
|
||||
libGL
|
||||
xorg.libX11
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DLIBSUPERDERPY_STATIC=ON" # recommended by upstream for coexistence with other superderpy games
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://gitlab.com/HolyPangolin/animatch/";
|
||||
description = "A cute match three game for the Librem 5 smartphone";
|
||||
license = with lib.licenses; [ gpl3Plus ];
|
||||
maintainers = with lib.maintainers; [ colinsane ];
|
||||
};
|
||||
}
|
||||
|
|
@ -37535,6 +37535,8 @@ with pkgs;
|
|||
|
||||
angband = callPackage ../games/angband { };
|
||||
|
||||
animatch = callPackage ../games/animatch { };
|
||||
|
||||
anki = callPackage ../games/anki {
|
||||
inherit (darwin.apple_sdk.frameworks) AVKit CoreAudio;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue