Skip to content

Commit

Permalink
msnake: init at 0.1.1-unstable-2020-02-01 (NixOS#380682)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Feb 11, 2025
2 parents 1cf7033 + 44f6a48 commit d1502a8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/by-name/ms/msnake/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
ncurses,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "msnake";
# last release tag was 13 years ago
version = "0.1.1-unstable-2020-02-01";

src = fetchFromGitHub {
owner = "mogria";
repo = "msnake";
rev = "830967fc8195216120fedcac1574113b367a0f9a";
hash = "sha256-5q3yT7amPF+SSvO6/eUU7IiK0k6f3nme9YYBUobSuuo=";
};

nativeBuildInputs = [
cmake
];

buildInputs = [
ncurses
];

meta = {
description = "Multiplatform command line snake game";
homepage = "https://github.com/mogria/msnake";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
mainProgram = "msnake";
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
})

0 comments on commit d1502a8

Please sign in to comment.