Commit cfde0671 authored by clerie's avatar clerie
Browse files

nsnake: init at 3.0.1

parent c6fd9036
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -35302,6 +35302,8 @@ with pkgs;
  newtonwars = callPackage ../games/newtonwars { };
  nsnake = callPackage ../games/nsnake { };
  nudoku = callPackage ../games/nudoku { };
  nxengine-evo = callPackage ../games/nxengine-evo { };