diff options
author | 1000101 <jan.hrnko@satoshilabs.com> | 2020-06-07 15:57:37 +0200 |
---|---|---|
committer | 1000101 <jan.hrnko@satoshilabs.com> | 2020-06-07 22:24:36 +0200 |
commit | c8d679a141ad4ae401b8607274097f84771ce3f9 (patch) | |
tree | a0688a8d531f22b48765625e8db7893b625e0d25 | |
parent | 656468f4285735df63745f9cf9e9adff3a583320 (diff) |
ninvaders: init at 0.1.2
-rw-r--r-- | pkgs/games/ninvaders/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/games/ninvaders/default.nix b/pkgs/games/ninvaders/default.nix new file mode 100644 index 0000000000000..a8adc1182bd8d --- /dev/null +++ b/pkgs/games/ninvaders/default.nix @@ -0,0 +1,23 @@ +{ 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"; + }; + + buildInputs = [ cmake ncurses ]; + + meta = with stdenv.lib; { + description = "Space Invaders clone based on ncurses"; + homepage = "http://ninvaders.sourceforge.net/"; + license = licenses.gpl2; + maintainers = with maintainers; [ maintainers."1000101" ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5004ef6dba736..58b5c99b484be 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23865,6 +23865,8 @@ in nexuiz = callPackage ../games/nexuiz { }; + ninvaders = callPackage ../games/ninvaders { }; + njam = callPackage ../games/njam { }; newtonwars = callPackage ../games/newtonwars { }; |