nixpkgs/pkgs/games/ninvaders/default.nix

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

26 lines
641 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, ncurses }:
2020-06-07 13:57:37 +00:00
stdenv.mkDerivation rec {
2020-06-07 13:57:37 +00: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 13:57:37 +00:00
meta = with lib; {
2020-06-07 13:57:37 +00:00
description = "Space Invaders clone based on ncurses";
mainProgram = "ninvaders";
homepage = "https://ninvaders.sourceforge.net/";
2024-07-03 09:37:36 +00:00
license = licenses.gpl2Plus;
2020-07-29 10:57:20 +00:00
maintainers = with maintainers; [ _1000101 ];
2020-06-07 13:57:37 +00:00
platforms = platforms.all;
};
}