nixpkgs/pkgs/games/angband/default.nix

25 lines
627 B
Nix
Raw Normal View History

2016-04-30 23:18:15 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
2016-04-30 11:50:50 +00:00
stdenv.mkDerivation rec {
version = "4.0.5";
name = "angband-${version}";
2016-04-30 23:18:15 +00:00
2016-04-30 11:50:50 +00:00
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
sha256 = "1l7ybqmsxpsijm7iqiqjpa7lhjafxml743q4crxn8wnwrbjzbi86";
2016-04-30 23:18:15 +00:00
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ];
installFlags = "bindir=$(out)/bin";
meta = with stdenv.lib; {
homepage = http://rephial.org/;
description = "A single-player roguelike dungeon exploration game";
maintainers = [ maintainers.chattered ];
license = licenses.gpl2;
2016-04-30 11:50:50 +00:00
};
}