mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +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.
29 lines
643 B
Nix
29 lines
643 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";
|
|
mainProgram = "sssnake";
|
|
homepage = "https://github.com/angeljumbo/sssnake";
|
|
license = with licenses; [mit];
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [quantenzitrone];
|
|
};
|
|
}
|