mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 13:53:05 +00:00
00918cc46d
* sssnake: init at 0.3.2 * sssnake: apply suggestions --------- Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
28 lines
614 B
Nix
28 lines
614 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
ncurses,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "sssnake";
|
|
version = "0.3.2";
|
|
src = fetchFromGitHub {
|
|
owner = "angeljumbo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-zkErOV6Az0kJdwyXzMCnVW1997zpAB79TBvf/41Igic=";
|
|
};
|
|
buildInputs = [ncurses];
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
];
|
|
meta = with lib; {
|
|
description = "Cli snake game that plays itself";
|
|
homepage = "https://github.com/angeljumbo/sssnake";
|
|
license = with licenses; [mit];
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [quantenzitrone];
|
|
};
|
|
}
|