1 { fetchFromGitHub, fetchpatch, ncurses, lib, stdenv,
2 updateAutotoolsGnuConfigScriptsHook }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 hash = "sha256-iuu81yHbNrjdPsimBrPK58PJ0d8i3ySM7rFUG/d8NJM";
15 nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
16 buildInputs = [ ncurses ];
19 configureFlags="$configureFlags --with-prefsdir=$out/share"
22 enableParallelBuilding = true;
26 install -D -m 0555 freesweep $out/bin/freesweep
27 install -D -m 0444 sweeprc $out/share/sweeprc
28 install -D -m 0444 freesweep.6 $out/share/man/man6/freesweep.6
33 description = "A console minesweeper-style game written in C for Unix-like systems";
34 homepage = "https://github.com/rwestlund/freesweep";
35 license = licenses.gpl2;
36 maintainers = with maintainers; [ kierdavis ];
37 platforms = platforms.unix;