summary refs log tree commit diff
path: root/pkgs/games/boohu/default.nix
blob: 6b3c0e04f982a10e61c4a62e6fc2addeb53b7946 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{lib, fetchurl, buildGoPackage}:

buildGoPackage rec {

  pname = "boohu";
  version = "0.13.0";

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

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

  goDeps = ./deps.nix;

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

  meta = with lib; {
    description = "A new coffee-break 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; [];
  };
}