mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
harmonist: init at 0.1
This commit is contained in:
parent
f0adad2d01
commit
e38110ab6c
34
pkgs/games/harmonist/default.nix
Normal file
34
pkgs/games/harmonist/default.nix
Normal file
@ -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];
|
||||
};
|
||||
}
|
20
pkgs/games/harmonist/deps.nix
generated
Normal file
20
pkgs/games/harmonist/deps.nix
generated
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/nsf/termbox-go";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/nsf/termbox-go";
|
||||
rev = "288510b9734e30e7966ec2f22b87c5f8e67345e3";
|
||||
sha256 = "0hdyisfaf8yb55h3p03p4sbq19546mp9fy28f2kn659mycmhxqk4";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mattn/go-runewidth";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mattn/go-runewidth";
|
||||
rev = "703b5e6b11ae25aeb2af9ebb5d5fdf8fa2575211";
|
||||
sha256 = "0znpyz71gajx3g0j2zp63nhjj2c07g16885vxv4ykwnrfmzbgk4w";
|
||||
};
|
||||
}
|
||||
]
|
@ -21455,6 +21455,8 @@ in
|
||||
|
||||
gzdoom = callPackage ../games/gzdoom { };
|
||||
|
||||
harmonist = callPackage ../games/harmonist { };
|
||||
|
||||
hawkthorne = callPackage ../games/hawkthorne { love = love_0_9; };
|
||||
|
||||
hedgewars = callPackage ../games/hedgewars {
|
||||
|
Loading…
Reference in New Issue
Block a user