nixpkgs/pkgs/games/angband/default.nix
2017-01-14 18:39:01 +01:00

24 lines
628 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
stdenv.mkDerivation rec {
version = "4.0.5";
name = "angband-${version}";
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
sha256 = "1l7ybqmsxpsijm7iqiqjpa7lhjafxml743q4crxn8wnwrbjzbi86";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses5 ];
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;
};
}