nixpkgs/pkgs/games/angband/default.nix

25 lines
621 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
2016-04-30 11:50:50 +00:00
stdenv.mkDerivation rec {
pname = "angband";
2021-03-10 17:23:08 +00:00
version = "4.2.2";
2016-04-30 23:18:15 +00:00
2016-04-30 11:50:50 +00:00
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
2021-03-10 17:23:08 +00:00
sha256 = "sha256-z1HTt3+lWIr2F9YZFdw47lkYVgYl17qbb/OJ9YyYQa8=";
2016-04-30 23:18:15 +00:00
};
nativeBuildInputs = [ autoreconfHook ];
2017-01-13 17:11:01 +00:00
buildInputs = [ ncurses5 ];
2019-11-05 01:10:31 +00:00
installFlags = [ "bindir=$(out)/bin" ];
2016-04-30 23:18:15 +00:00
meta = with lib; {
homepage = "http://rephial.org/";
2016-04-30 23:18:15 +00:00
description = "A single-player roguelike dungeon exploration game";
2017-01-13 17:11:01 +00:00
maintainers = [ maintainers.chattered ];
2016-04-30 23:18:15 +00:00
license = licenses.gpl2;
2016-04-30 11:50:50 +00:00
};
}