nixpkgs/pkgs/games/animatch/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

43 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 ];
};
}