mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
32 lines
1.0 KiB
Nix
32 lines
1.0 KiB
Nix
{lib, fetchurl, buildGoModule}:
|
|
|
|
buildGoModule rec {
|
|
pname = "harmonist";
|
|
version = "0.5.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.tuxfamily.org/harmonist/releases/${pname}-${version}.tar.gz";
|
|
hash = "sha256-NkUrBvOOs6yctW4CVRpJNcdfdPvUJZp9HaWLS7eO4yE=";
|
|
};
|
|
|
|
vendorHash = "sha256-0DV32a2LYnfYzg/tqwear9uaaahNUIi0M8uWlXOQ5Ic=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "Stealth coffee-break roguelike game";
|
|
mainProgram = "harmonist";
|
|
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;
|
|
maintainers = [ ];
|
|
};
|
|
}
|