2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
|
2016-04-30 04:50:50 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "angband";
|
2021-03-10 09:23:08 -08:00
|
|
|
version = "4.2.2";
|
2016-04-30 16:18:15 -07:00
|
|
|
|
2016-04-30 04:50:50 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angband";
|
|
|
|
repo = "angband";
|
|
|
|
rev = version;
|
2021-03-10 09:23:08 -08:00
|
|
|
sha256 = "sha256-z1HTt3+lWIr2F9YZFdw47lkYVgYl17qbb/OJ9YyYQa8=";
|
2016-04-30 16:18:15 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2017-01-13 09:11:01 -08:00
|
|
|
buildInputs = [ ncurses5 ];
|
2019-11-04 17:10:31 -08:00
|
|
|
installFlags = [ "bindir=$(out)/bin" ];
|
2016-04-30 16:18:15 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://rephial.org/";
|
2016-04-30 16:18:15 -07:00
|
|
|
description = "A single-player roguelike dungeon exploration game";
|
2017-01-13 09:11:01 -08:00
|
|
|
maintainers = [ maintainers.chattered ];
|
2016-04-30 16:18:15 -07:00
|
|
|
license = licenses.gpl2;
|
2016-04-30 04:50:50 -07:00
|
|
|
};
|
|
|
|
}
|