nixpkgs/pkgs/games/angband/default.nix

24 lines
666 B
Nix
Raw Normal View History

2016-04-30 11:50:50 +00:00
{stdenv, fetchFromGitHub, autoconf, automake, ncurses }:
stdenv.mkDerivation rec {
version = "4.0.5";
name = "angband-${version}";
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
sha256 = "1l7ybqmsxpsijm7iqiqjpa7lhjafxml743q4crxn8wnwrbjzbi86";
};
buildInputs = [ autoconf automake ncurses ];
configurePhase = ''
./autogen.sh
./configure --prefix=$out --bindir=$out/bin --disable-x11
'';
meta = {
homepage = "http://rephial.org/";
description = "Angband (classic rogue-like game)";
maintainers = [ stdenv.lib.maintainers.chattered ];
license = stdenv.lib.licenses.gpl2;
};
}