mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
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.
26 lines
603 B
Nix
26 lines
603 B
Nix
{ 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";
|
|
mainProgram = "nsnake";
|
|
homepage = "https://github.com/alexdantas/nSnake";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ clerie ];
|
|
};
|
|
}
|