about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/angband/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/angband/default.nix')
-rw-r--r--nixpkgs/pkgs/games/angband/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/angband/default.nix b/nixpkgs/pkgs/games/angband/default.nix
new file mode 100644
index 000000000000..4bdfc87d8da7
--- /dev/null
+++ b/nixpkgs/pkgs/games/angband/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
+
+stdenv.mkDerivation rec {
+  version = "4.1.3";
+  name = "angband-${version}";
+
+  src = fetchFromGitHub {
+    owner = "angband";
+    repo = "angband";
+    rev = version;
+    sha256 = "0g9m7pq8a1hzhr83v552hfk37qc868lms2mlsq29pbi8vxdjybk7";
+  };
+
+  nativeBuildInputs = [ autoreconfHook ];
+  buildInputs = [ ncurses5 ];
+  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;
+  };
+}