mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 15:17:33 +00:00
angband: cleanups
This commit is contained in:
parent
8d5962a690
commit
fb93bfc0bc
@ -1,23 +1,24 @@
|
||||
{stdenv, fetchFromGitHub, autoconf, automake, ncurses }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, 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;
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user