2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "angband";
|
2021-08-08 23:34:03 +00:00
|
|
|
version = "4.2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angband";
|
|
|
|
repo = "angband";
|
|
|
|
rev = version;
|
2021-08-08 23:34:03 +00:00
|
|
|
sha256 = "sha256-SFHAG74qJcV3E+jxPcOH2moW/kXhpwUwbGZVkNxqWd8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ ncurses5 ];
|
|
|
|
installFlags = [ "bindir=$(out)/bin" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-08-08 23:34:03 +00:00
|
|
|
homepage = "https://angband.github.io/angband";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A single-player roguelike dungeon exploration game";
|
|
|
|
maintainers = [ maintainers.chattered ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|