mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
24 lines
622 B
Nix
24 lines
622 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses5 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "angband";
|
|
version = "4.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "angband";
|
|
repo = "angband";
|
|
rev = version;
|
|
sha256 = "0fr59986swx9a2xkxkbfgadzpwy2lq55fgcib05k393kibyz49kg";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|