sssnake: init at 0.3.2 (#253441)

* sssnake: init at 0.3.2

* sssnake: apply suggestions

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
Quantenzitrone 2023-09-05 20:21:56 +00:00 committed by GitHub
parent 7186b4babd
commit 00918cc46d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
{
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];
};
}