nixpkgs/pkgs/games/angband/default.nix
Ryan Mulligan 05a9a869c1 angband: 4.0.5 -> 4.1.2
Semi-automatic update; builds on NixOS
2018-02-24 14:36:05 -08:00

25 lines
628 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
stdenv.mkDerivation rec {
version = "4.1.2";
name = "angband-${version}";
src = fetchFromGitHub {
owner = "angband";
repo = "angband";
rev = version;
sha256 = "1n18i8ni154ym3d32zlbxcw0zz62h66iifr0h1yvvv2kp13p5zix";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses5 ];
installFlags = "bindir=$(out)/bin";
meta = with stdenv.lib; {
homepage = http://rephial.org/;
description = "A single-player roguelike dungeon exploration game";
maintainers = [ maintainers.chattered ];
license = licenses.gpl2;
};
}