mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
755b915a15
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/'
43 lines
852 B
Nix
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 ];
|
|
};
|
|
}
|
|
|