2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, ncurses }:
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ninvaders";
|
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sf-refugees";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1wmwws1zsap4bfc2439p25vnja0hnsf57k293rdxw626gly06whi";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ ncurses ];
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-06-18 07:06:33 +00:00
|
|
|
description = "Space Invaders clone based on ncurses";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ninvaders";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://ninvaders.sourceforge.net/";
|
2024-07-27 06:49:29 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-08-20 17:08:02 +00:00
|
|
|
maintainers = with maintainers; [ _1000101 ];
|
2020-06-18 07:06:33 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|