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


                    
                            
                     




                                                                                   
                                                                    

    
                             
 
                                                       














                                                                          
{stdenv, fetchurl, buildGoPackage}:

buildGoPackage rec {

  name = "boohu-${version}";
  version = "0.12.0";

  goPackagePath = "git.tuxfamily.org/boohu/boohu.git";

  src = fetchurl {
    url = "https://download.tuxfamily.org/boohu/downloads/boohu-${version}.tar.gz";
    sha256 = "0nf3xj3lda8279cqvjv5c3vpsb7d2kynwwna5yrsy7gq8c9n4rh8";
  };

  buildFlags = "--tags ansi";

  postInstall = "mv $bin/bin/boohu.git $bin/bin/boohu";

  meta = with stdenv.lib; {
    description = "A new roguelike game";
    longDescription = ''
      Break Out Of Hareka's Underground (Boohu) is a roguelike game mainly
      inspired from DCSS and its tavern, with some ideas from Brogue, but
      aiming for very short games, almost no character building, and a
      simplified inventory.
    '';
    homepage = https://download.tuxfamily.org/boohu/index.html;
    license = licenses.isc;
    platforms = platforms.unix;
    maintainers = with maintainers; [freepotion];
  };
}