2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, ncurses }:
|
2020-06-07 14:57:37 +01:00
|
|
|
|
2020-06-07 22:11:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-06-07 14:57:37 +01:00
|
|
|
pname = "ninvaders";
|
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sf-refugees";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1wmwws1zsap4bfc2439p25vnja0hnsf57k293rdxw626gly06whi";
|
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ ncurses ];
|
2020-06-07 14:57:37 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-06-07 14:57:37 +01:00
|
|
|
description = "Space Invaders clone based on ncurses";
|
|
|
|
homepage = "http://ninvaders.sourceforge.net/";
|
|
|
|
license = licenses.gpl2;
|
2020-07-29 11:57:20 +01:00
|
|
|
maintainers = with maintainers; [ _1000101 ];
|
2020-06-07 14:57:37 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|