Merge pull request #31562 from dotlambda/braincurses

braincurses: init at 1.1.0
This commit is contained in:
Orivej Desh 2017-11-12 14:31:20 +00:00 committed by GitHub
commit 5e698100b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
name = "braincurses-${version}";
version = "1.1.0";
src = fetchFromGitHub {
owner = "bderrly";
repo = "braincurses";
rev = version;
sha256 = "0gpny9wrb0zj3lr7iarlgn9j4367awj09v3hhxz9r9a6yhk4anf5";
};
buildInputs = [ ncurses ];
# There is no install target in the Makefile
installPhase = ''
install -Dt $out/bin braincurses
'';
meta = with stdenv.lib; {
homepage = https://github.com/bderrly/braincurses;
description = "A version of the classic game Mastermind";
license = licenses.gpl2;
maintainers = with maintainers; [ dotlambda ];
platforms = platforms.linux;
};
}

View File

@ -17678,6 +17678,8 @@ with pkgs;
blobby = callPackage ../games/blobby { };
braincurses = callPackage ../games/braincurses { };
brogue = callPackage ../games/brogue { };
bsdgames = callPackage ../games/bsdgames { };