pacman-game: init at 0-unstable-2017-01-30

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards 2025-02-19 17:02:08 -05:00
parent a2e485e7c4
commit 8e075ab3a8
No known key found for this signature in database
GPG key ID: D83DC5377393C7E6

View file

@ -0,0 +1,34 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "pacman-game";
version = "0-unstable-2017-01-30";
src = fetchFromGitHub {
owner = "justinjo";
repo = "pacman";
rev = "974db44b655270e5a6532c309ffb0eb2d3962e99";
hash = "sha256-2GwIv8XMbd8WZBaPp4tOblAzku49UilHmv6bG9A1y+4=";
};
installPhase = ''
runHook preInstall
install -Dm755 pacman $out/bin/pacman
runHook postInstall
'';
meta = {
description = "Command line pacman game";
homepage = "https://github.com/justinjo/Pacman";
license = lib.licenses.unlicense;
platforms = lib.platforms.darwin;
maintainers = with lib.maintainers; [ ethancedwards8 ];
mainProgram = "pacman";
};
})