summary refs log blame commit diff
path: root/pkgs/games/angband/default.nix
blob: e14629dce8fc4614d470d10a36796a4b3dc9e2e2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                           

                         
                    
                    
 



                         
                                                                   


                                         
                             
                                         
 
                    
                                     
                                                                       
                                            
                            

    
{ 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;
  };
}