1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
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;
};
}