Merge pull request #206906 from clerie/clerie/nsnake-3.0.1

nsnake: init at 3.0.1
This commit is contained in:
Sandro 2023-04-11 17:21:53 +02:00 committed by GitHub
commit 10ef5c3605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, lib, ncurses }:
stdenv.mkDerivation rec {
pname = "nsnake";
version = "3.0.1";
src = fetchFromGitHub {
owner = "alexdantas";
repo = "nSnake";
rev = "v${version}";
sha256 = "sha256-MixwIhyymruruV8G8PjmR9EoZBpaDVBCKBccSFL0lS8=";
};
buildInputs = [ ncurses ];
makeFlags = [ "PREFIX=$(out)" ];
meta = {
description = "ncurses based snake game for the terminal";
homepage = "https://github.com/alexdantas/nSnake";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ clerie ];
};
}

View file

@ -36181,6 +36181,8 @@ with pkgs;
newtonwars = callPackage ../games/newtonwars { };
nsnake = callPackage ../games/nsnake { };
nudoku = callPackage ../games/nudoku { };
nxengine-evo = callPackage ../games/nxengine-evo { };