1 { fetchFromGitHub, ncurses, lib, stdenv
2 , updateAutotoolsGnuConfigScriptsHook, installShellFiles }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 hash = "sha256-iuu81yHbNrjdPsimBrPK58PJ0d8i3ySM7rFUG/d8NJM";
15 nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook installShellFiles ];
16 buildInputs = [ ncurses ];
18 configureFlags = [ "--with-prefsdir=$out/share" ];
20 enableParallelBuilding = true;
24 install -D -m 0555 freesweep $out/bin/freesweep
25 install -D -m 0444 sweeprc $out/share/sweeprc
26 installManPage freesweep.6
31 description = "Console minesweeper-style game written in C for Unix-like systems";
32 mainProgram = "freesweep";
33 homepage = "https://github.com/rwestlund/freesweep";
34 license = licenses.gpl2Only;
35 maintainers = with maintainers; [ ];
36 platforms = platforms.unix;