mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
25 lines
627 B
Nix
25 lines
627 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.0.5";
|
|
name = "angband-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angband";
|
|
repo = "angband";
|
|
rev = version;
|
|
sha256 = "1l7ybqmsxpsijm7iqiqjpa7lhjafxml743q4crxn8wnwrbjzbi86";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ ncurses ];
|
|
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;
|
|
};
|
|
}
|