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