2017-01-13 17:11:01 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
|
2016-04-30 12:50:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-24 22:36:05 +00:00
|
|
|
version = "4.1.2";
|
2016-04-30 12:50:50 +01:00
|
|
|
name = "angband-${version}";
|
2016-05-01 00:18:15 +01:00
|
|
|
|
2016-04-30 12:50:50 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "angband";
|
|
|
|
repo = "angband";
|
|
|
|
rev = version;
|
2018-02-24 22:36:05 +00:00
|
|
|
sha256 = "1n18i8ni154ym3d32zlbxcw0zz62h66iifr0h1yvvv2kp13p5zix";
|
2016-05-01 00:18:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2017-01-13 17:11:01 +00:00
|
|
|
buildInputs = [ ncurses5 ];
|
2016-05-01 00:18:15 +01:00
|
|
|
installFlags = "bindir=$(out)/bin";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://rephial.org/;
|
|
|
|
description = "A single-player roguelike dungeon exploration game";
|
2017-01-13 17:11:01 +00:00
|
|
|
maintainers = [ maintainers.chattered ];
|
2016-05-01 00:18:15 +01:00
|
|
|
license = licenses.gpl2;
|
2016-04-30 12:50:50 +01:00
|
|
|
};
|
|
|
|
}
|