diff options
author | Patryk Wychowaniec <wychowaniec.patryk@gmail.com> | 2020-04-16 18:07:30 +0200 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2020-05-06 00:16:08 +0530 |
commit | 23505114252a27e765a3148e8a05e7eb1bf6efc9 (patch) | |
tree | d48b7ad6072017404df33715c2deb20ab881bfd0 /pkgs/games/netris | |
parent | 08b198becaa59658da7dc5cd1f8a79bf336ca011 (diff) |
netris: init at 0.52
Diffstat (limited to 'pkgs/games/netris')
-rw-r--r-- | pkgs/games/netris/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/games/netris/default.nix b/pkgs/games/netris/default.nix new file mode 100644 index 0000000000000..994db4e67f8ab --- /dev/null +++ b/pkgs/games/netris/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, ncurses }: + +stdenv.mkDerivation { + pname = "netris"; + version = "0.52"; + + src = fetchFromGitHub { + owner = "naclander"; + repo = "netris"; + rev = "6773c9b2d39a70481a5d6eb5368e9ced6229ad2b"; + sha256 = "0gmxbpn50pnffidwjchkzph9rh2jm4wfq7hj8msp5vhdq5h0z9hm"; + }; + + buildInputs = [ + ncurses + ]; + + configureScript = "./Configure"; + dontAddPrefix = true; + + installPhase = '' + mkdir -p $out/bin + cp ./netris $out/bin + ''; + + meta = with stdenv.lib; { + description = "A free networked version of T*tris"; + license = licenses.gpl2; + maintainers = with maintainers; [ patryk27 ]; + platforms = platforms.linux; + }; +} |