3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/angband/default.nix
2021-03-15 15:09:24 -04:00

25 lines
621 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
stdenv.mkDerivation rec {
pname = "angband";
version = "4.2.2";
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
sha256 = "sha256-z1HTt3+lWIr2F9YZFdw47lkYVgYl17qbb/OJ9YyYQa8=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses5 ];
installFlags = [ "bindir=$(out)/bin" ];
meta = with lib; {
homepage = "http://rephial.org/";
description = "A single-player roguelike dungeon exploration game";
maintainers = [ maintainers.chattered ];
license = licenses.gpl2;
};
}