nixpkgs/pkgs/games/angband/default.nix

25 lines
628 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 {
version = "4.1.3";
2016-04-30 13:50:50 +02:00
name = "angband-${version}";
2016-05-01 01:18:15 +02:00
2016-04-30 13:50:50 +02:00
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
sha256 = "0g9m7pq8a1hzhr83v552hfk37qc868lms2mlsq29pbi8vxdjybk7";
2016-05-01 01:18:15 +02:00
};
nativeBuildInputs = [ autoreconfHook ];
2017-01-13 18:11:01 +01:00
buildInputs = [ ncurses5 ];
2016-05-01 01:18:15 +02:00
installFlags = "bindir=$(out)/bin";
meta = with stdenv.lib; {
homepage = http://rephial.org/;
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
};
}