2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
|
2016-04-30 13:50:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "angband";
|
2021-08-08 02:05:24 +02:00
|
|
|
version = "4.2.3";
|
2016-05-01 01:18:15 +02:00
|
|
|
|
2016-04-30 13:50:50 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angband";
|
|
|
|
repo = "angband";
|
|
|
|
rev = version;
|
2021-08-08 02:05:24 +02:00
|
|
|
sha256 = "sha256-SFHAG74qJcV3E+jxPcOH2moW/kXhpwUwbGZVkNxqWd8=";
|
2016-05-01 01:18:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2017-01-13 18:11:01 +01:00
|
|
|
buildInputs = [ ncurses5 ];
|
2019-11-05 02:10:31 +01:00
|
|
|
installFlags = [ "bindir=$(out)/bin" ];
|
2016-05-01 01:18:15 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2021-08-08 02:05:24 +02:00
|
|
|
homepage = "https://angband.github.io/angband";
|
2016-05-01 01:18:15 +02:00
|
|
|
description = "A single-player roguelike dungeon exploration game";
|
2017-01-13 18:11:01 +01:00
|
|
|
maintainers = [ maintainers.chattered ];
|
2016-05-01 01:18:15 +02:00
|
|
|
license = licenses.gpl2;
|
2016-04-30 13:50:50 +02:00
|
|
|
};
|
|
|
|
}
|