nixpkgs/pkgs/games/harmonist/default.nix

35 lines
1.1 KiB
Nix
Raw Normal View History

2019-05-25 11:14:43 +01:00
{stdenv, fetchurl, buildGoPackage}:
buildGoPackage rec {
pname = "harmonist";
2019-12-13 22:43:20 +00:00
version = "0.3.0";
2019-05-25 11:14:43 +01:00
goPackagePath = "git.tuxfamily.org/harmonist/harmonist.git";
src = fetchurl {
url = "https://download.tuxfamily.org/harmonist/releases/${pname}-${version}.tar.gz";
2019-12-13 22:43:20 +00:00
sha256 = "16bh4zzq7szwcw19n34bslkf81fz3i0p4zqkd8gdi5ixkbm998lm";
2019-05-25 11:14:43 +01:00
};
goDeps = ./deps.nix;
postInstall = "mv $out/bin/harmonist.git $out/bin/harmonist";
2019-05-25 11:14:43 +01:00
meta = with stdenv.lib; {
description = "A stealth coffee-break roguelike game";
longDescription = ''
Harmonist is a stealth coffee-break roguelike game. The game has a heavy
focus on tactical positioning, light and noise mechanisms, making use of
various terrain types and cones of view for monsters. Aiming for a
replayable streamlined experience, the game avoids complex inventory
management and character building, relying on items and player
adaptability for character progression.
'';
homepage = "https://harmonist.tuxfamily.org/";
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [freepotion];
};
}