1 { lib, stdenv, fetchFromGitHub, ncurses }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "0gpny9wrb0zj3lr7iarlgn9j4367awj09v3hhxz9r9a6yhk4anf5";
14 buildInputs = [ ncurses ];
16 # There is no install target in the Makefile
18 install -Dt $out/bin braincurses
22 homepage = "https://github.com/bderrly/braincurses";
23 description = "A version of the classic game Mastermind";
24 mainProgram = "braincurses";
25 license = licenses.gpl2;
26 maintainers = with maintainers; [ dotlambda ];
27 platforms = platforms.linux;