Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
658 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
ncurses,
}:
stdenv.mkDerivation rec {
pname = "ninvaders";
version = "0.1.2";
src = fetchFromGitHub {
owner = "sf-refugees";
repo = "ninvaders";
rev = "v${version}";
sha256 = "1wmwws1zsap4bfc2439p25vnja0hnsf57k293rdxw626gly06whi";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ ncurses ];
meta = with lib; {
description = "Space Invaders clone based on ncurses";
mainProgram = "ninvaders";
homepage = "https://ninvaders.sourceforge.net/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ _1000101 ];
platforms = platforms.all;
};
}