nixpkgs-suyu/pkgs/games/ninvaders/default.nix

25 lines
607 B
Nix
Raw Normal View History

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