ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
42 lines
854 B
Nix
42 lines
854 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 = "A cute match three game for the Librem 5 smartphone";
|
|
mainProgram = "animatch";
|
|
license = with lib.licenses; [ gpl3Plus ];
|
|
maintainers = with lib.maintainers; [ colinsane ];
|
|
};
|
|
}
|
|
|