git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #62030 from freepotion/harmonist-init

harmonist: init at 0.1

commitfa05f332ebdf880abf147ad481288b704deb1367 authorElis Hirwing <elis@hirwing.se> dateSat 25 May 2019, 12:20 (7 years ago) parent48d6a67e38110a
3 files changed+56
pkgs/games/harmonist/default.nix+34 pkgs/games/harmonist/deps.nix+20 pkgs/top-level/all-packages.nix+2
pkgs/games/harmonist/default.nixnew file+34
@@ -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+}
pkgs/games/harmonist/deps.nixnew file+20
@@ -0,0 +1,20 @@
1+[
2+ {
3+ goPackagePath = "github.com/nsf/termbox-go";
4+ fetch = {
5+ type = "git";
6+ url = "https://github.com/nsf/termbox-go";
7+ rev = "288510b9734e30e7966ec2f22b87c5f8e67345e3";
8+ sha256 = "0hdyisfaf8yb55h3p03p4sbq19546mp9fy28f2kn659mycmhxqk4";
9+ };
10+ }
11+ {
12+ goPackagePath = "github.com/mattn/go-runewidth";
13+ fetch = {
14+ type = "git";
15+ url = "https://github.com/mattn/go-runewidth";
16+ rev = "703b5e6b11ae25aeb2af9ebb5d5fdf8fa2575211";
17+ sha256 = "0znpyz71gajx3g0j2zp63nhjj2c07g16885vxv4ykwnrfmzbgk4w";
18+ };
19+ }
20+]
pkgs/top-level/all-packages.nix+2
@@ -21455,6 +21455,8 @@ in
2145521455
2145621456 gzdoom = callPackage ../games/gzdoom { };
2145721457
21458+ harmonist = callPackage ../games/harmonist { };
21459+
2145821460 hawkthorne = callPackage ../games/hawkthorne { love = love_0_9; };
2145921461
2146021462 hedgewars = callPackage ../games/hedgewars {