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:
parent
7186b4babd
commit
00918cc46d
1 changed files with 27 additions and 0 deletions
27
pkgs/by-name/ss/sssnake/package.nix
Normal file
27
pkgs/by-name/ss/sssnake/package.nix
Normal 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];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue