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-03-16 09:55:35 +00:00
|
|
|
version = "4.2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angband";
|
|
|
|
repo = "angband";
|
|
|
|
rev = version;
|
2021-03-16 09:55:35 +00:00
|
|
|
sha256 = "sha256-z1HTt3+lWIr2F9YZFdw47lkYVgYl17qbb/OJ9YyYQa8=";
|
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; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://rephial.org/";
|
|
|
|
description = "A single-player roguelike dungeon exploration game";
|
|
|
|
maintainers = [ maintainers.chattered ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|