depot/third_party/nixpkgs/pkgs/games/animatch/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
852 B
Nix

{ 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 = "Cute match three game for the Librem 5 smartphone";
mainProgram = "animatch";
license = with lib.licenses; [ gpl3Plus ];
maintainers = with lib.maintainers; [ colinsane ];
};
}