diff options
author | Colin <colin@uninsane.org> | 2023-11-16 19:58:33 +0000 |
---|---|---|
committer | Colin <colin@uninsane.org> | 2023-11-17 00:16:12 +0000 |
commit | 1284b391774aa1406109f192b48dada8252e90b6 (patch) | |
tree | f64f71c586fbe8bdcba2691da3525a1aeb662b2f /pkgs/games | |
parent | 1c8090feb886d6aae5d1d519529b83deb1ce8844 (diff) |
animatch: init at 1.0.3
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/animatch/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/games/animatch/default.nix b/pkgs/games/animatch/default.nix new file mode 100644 index 0000000000000..b6bf5473807c8 --- /dev/null +++ b/pkgs/games/animatch/default.nix @@ -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 ]; + }; +} + |