braincurses: init at 1.1.0
This commit is contained in:
parent
dd1a9fa915
commit
ebd064b761
28
pkgs/games/braincurses/default.nix
Normal file
28
pkgs/games/braincurses/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -17678,6 +17678,8 @@ with pkgs;
|
||||
|
||||
blobby = callPackage ../games/blobby { };
|
||||
|
||||
braincurses = callPackage ../games/braincurses { };
|
||||
|
||||
brogue = callPackage ../games/brogue { };
|
||||
|
||||
bsdgames = callPackage ../games/bsdgames { };
|
||||
|
Loading…
Reference in New Issue
Block a user