angband: cleanups

This commit is contained in:
Joachim Fasting 2016-05-01 01:18:15 +02:00
parent 8d5962a690
commit fb93bfc0bc
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4

View File

@ -1,23 +1,24 @@
{stdenv, fetchFromGitHub, autoconf, automake, ncurses }: { stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "4.0.5"; version = "4.0.5";
name = "angband-${version}"; name = "angband-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "angband"; owner = "angband";
repo = "angband"; repo = "angband";
rev = version; rev = version;
sha256 = "1l7ybqmsxpsijm7iqiqjpa7lhjafxml743q4crxn8wnwrbjzbi86"; sha256 = "1l7ybqmsxpsijm7iqiqjpa7lhjafxml743q4crxn8wnwrbjzbi86";
}; };
buildInputs = [ autoconf automake ncurses ];
configurePhase = '' nativeBuildInputs = [ autoreconfHook ];
./autogen.sh buildInputs = [ ncurses ];
./configure --prefix=$out --bindir=$out/bin --disable-x11 installFlags = "bindir=$(out)/bin";
'';
meta = { meta = with stdenv.lib; {
homepage = "http://rephial.org/"; homepage = http://rephial.org/;
description = "Angband (classic rogue-like game)"; description = "A single-player roguelike dungeon exploration game";
maintainers = [ stdenv.lib.maintainers.chattered ]; maintainers = [ maintainers.chattered ];
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
}; };
} }