1 { lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5
2 , enableSdl2 ? false, SDL2, SDL2_image, SDL2_sound, SDL2_mixer, SDL2_ttf
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "sha256-XH2FUTJJaH5TqV2UD1CKKAXE4CRAb6zfg1UQ79a15k0=";
17 nativeBuildInputs = [ autoreconfHook ];
18 buildInputs = [ ncurses5 ]
19 ++ lib.optionals enableSdl2 [
27 configureFlags = lib.optional enableSdl2 "--enable-sdl2";
29 installFlags = [ "bindir=$(out)/bin" ];
32 homepage = "https://angband.github.io/angband";
33 description = "A single-player roguelike dungeon exploration game";
34 maintainers = [ maintainers.kenran ];
35 license = licenses.gpl2;