My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/games/braincurses/default.nix

28 lines
687 B

{ lib, stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
pname = "braincurses";
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 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;
};
}