about summary refs log tree commit diff
path: root/pkgs/games/harmonist/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/harmonist/default.nix')
-rw-r--r--pkgs/games/harmonist/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/games/harmonist/default.nix b/pkgs/games/harmonist/default.nix
new file mode 100644
index 000000000000..cca17ceee5af
--- /dev/null
+++ b/pkgs/games/harmonist/default.nix
@@ -0,0 +1,34 @@
+{stdenv, fetchurl, buildGoPackage}:
+
+buildGoPackage rec {
+
+  pname = "harmonist";
+  version = "0.1";
+
+  goPackagePath = "git.tuxfamily.org/harmonist/harmonist.git";
+
+  src = fetchurl {
+    url = "https://download.tuxfamily.org/harmonist/releases/${pname}-${version}.tar.gz";
+    sha256 = "1cvhfvscd80qz95pqkblnyjhz1l87k7y6vmzyzap893mpjk9a3pm";
+  };
+
+  goDeps = ./deps.nix;
+
+  postInstall = "mv $bin/bin/harmonist.git $bin/bin/harmonist";
+
+  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];
+  };
+}