forked from mirrors/nixpkgs
angband: init at version 4.0.5
This commit is contained in:
parent
784a5ed2ef
commit
8d5962a690
23
pkgs/games/angband/default.nix
Normal file
23
pkgs/games/angband/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{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;
|
||||
};
|
||||
}
|
|
@ -14728,6 +14728,8 @@ in
|
|||
|
||||
andyetitmoves = if stdenv.isLinux then callPackage ../games/andyetitmoves {} else null;
|
||||
|
||||
angband = callPackage ../games/angband { };
|
||||
|
||||
anki = callPackage ../games/anki {
|
||||
inherit (pythonPackages) wrapPython pysqlite sqlalchemy pyaudio beautifulsoup httplib2 matplotlib;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue