nixpkgs/pkgs/games/angband/default.nix

25 lines
624 B
Nix
Raw Normal View History

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