about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/ninvaders/default.nix
blob: c3f455b71b07f0d1f71325cd6606648a6020fba8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchFromGitHub, cmake, ncurses }:

stdenv.mkDerivation rec {
  pname = "ninvaders";
  version = "0.1.2";

  src = fetchFromGitHub {
    owner = "sf-refugees";
    repo = pname;
    rev = "v${version}";
    sha256 = "1wmwws1zsap4bfc2439p25vnja0hnsf57k293rdxw626gly06whi";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ ncurses ];

  meta = with lib; {
    description = "Space Invaders clone based on ncurses";
    homepage = "https://ninvaders.sourceforge.net/";
    license = licenses.gpl2;
    maintainers = with maintainers; [ _1000101 ];
    platforms = platforms.all;
  };
}