mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
24 lines
621 B
Nix
24 lines
621 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "angband";
|
|
version = "4.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angband";
|
|
repo = "angband";
|
|
rev = version;
|
|
sha256 = "sha256-z1HTt3+lWIr2F9YZFdw47lkYVgYl17qbb/OJ9YyYQa8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ ncurses5 ];
|
|
installFlags = [ "bindir=$(out)/bin" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://rephial.org/";
|
|
description = "A single-player roguelike dungeon exploration game";
|
|
maintainers = [ maintainers.chattered ];
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|