braincurses: init at 1.1.0

This commit is contained in:
Robert Schütz 2017-11-12 15:03:54 +01:00
parent dd1a9fa915
commit ebd064b761
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 { };