Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
859 B
Nix
43 lines
859 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;
|
|
tag = "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 ];
|
|
};
|
|
}
|