nixpkgs-suyu/pkgs/games/angband/default.nix
R. RyanTM 45f3eea922
angband: 4.2.2 -> 4.2.3 (#132372)
Co-authored-by: Artturi <Artturin@artturin.com>
2021-08-08 03:05:24 +03:00

24 lines
635 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
stdenv.mkDerivation rec {
pname = "angband";
version = "4.2.3";
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
sha256 = "sha256-SFHAG74qJcV3E+jxPcOH2moW/kXhpwUwbGZVkNxqWd8=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses5 ];
installFlags = [ "bindir=$(out)/bin" ];
meta = with lib; {
homepage = "https://angband.github.io/angband";
description = "A single-player roguelike dungeon exploration game";
maintainers = [ maintainers.chattered ];
license = licenses.gpl2;
};
}