@@ -0,0 +1,34 @@
1+{stdenv, fetchurl, buildGoPackage}:
2+
3+buildGoPackage rec {
4+
5+ pname = "harmonist";
6+ version = "0.1";
7+
8+ goPackagePath = "git.tuxfamily.org/harmonist/harmonist.git";
9+
10+ src = fetchurl {
11+ url = "https://download.tuxfamily.org/harmonist/releases/${pname}-${version}.tar.gz";
12+ sha256 = "1cvhfvscd80qz95pqkblnyjhz1l87k7y6vmzyzap893mpjk9a3pm";
13+ };
14+
15+ goDeps = ./deps.nix;
16+
17+ postInstall = "mv $bin/bin/harmonist.git $bin/bin/harmonist";
18+
19+ meta = with stdenv.lib; {
20+ description = "A stealth coffee-break roguelike game";
21+ longDescription = ''
22+ Harmonist is a stealth coffee-break roguelike game. The game has a heavy
23+ focus on tactical positioning, light and noise mechanisms, making use of
24+ various terrain types and cones of view for monsters. Aiming for a
25+ replayable streamlined experience, the game avoids complex inventory
26+ management and character building, relying on items and player
27+ adaptability for character progression.
28+ '';
29+ homepage = "https://harmonist.tuxfamily.org/";
30+ license = licenses.isc;
31+ platforms = platforms.unix;
32+ maintainers = with maintainers; [freepotion];
33+ };
34+}