diff options
author | Phil Scott <mail@mtop.com> | 2016-04-30 12:50:50 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-05-01 01:22:49 +0200 |
commit | 8d5962a69064798883e1654ad585d21d3f06dd99 (patch) | |
tree | 7f6f6d5dd2061d15b9755ccefaf337027c81b4e0 /pkgs/games/angband | |
parent | 784a5ed2ef4847d8b9a283c9a39bd2273bd709a8 (diff) |
angband: init at version 4.0.5
Diffstat (limited to 'pkgs/games/angband')
-rw-r--r-- | pkgs/games/angband/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/games/angband/default.nix b/pkgs/games/angband/default.nix new file mode 100644 index 000000000000..5a026099076f --- /dev/null +++ b/pkgs/games/angband/default.nix @@ -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; + }; +} |