mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
pacman-game: init at 0-unstable-2017-01-30
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
a2e485e7c4
commit
8e075ab3a8
1 changed files with 34 additions and 0 deletions
34
pkgs/by-name/pa/pacman-game/package.nix
Normal file
34
pkgs/by-name/pa/pacman-game/package.nix
Normal 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";
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue