Unverified Commit 971434e9 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

harmonist: 0.5.1 -> 0.6.1 (#402903)

parents 207e91de b6541b4c
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
{
  lib,
  fetchurl,
  buildGoModule,
  fetchFromGitea,
}:

buildGoModule rec {
buildGoModule (finalAttrs: {
  pname = "harmonist";
  version = "0.5.1";
  version = "0.6.1";

  src = fetchurl {
    url = "https://download.tuxfamily.org/harmonist/releases/${pname}-${version}.tar.gz";
    hash = "sha256-NkUrBvOOs6yctW4CVRpJNcdfdPvUJZp9HaWLS7eO4yE=";
  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "anaseto";
    repo = "harmonist";
    tag = "v${finalAttrs.version}";
    hash = "sha256-0YHbASLEcQJVYruFuWUYeb0yItmjnlJrZ4jY4h8WYgw=";
  };

  vendorHash = "sha256-0DV32a2LYnfYzg/tqwear9uaaahNUIi0M8uWlXOQ5Ic=";
  vendorHash = "sha256-pQgqITlUtKkTZTpumWUoYMIB+fKQIqbTIAeTy2UDvdY=";

  ldflags = [
    "-s"
    "-w"
  ];

  meta = with lib; {
  meta = {
    description = "Stealth coffee-break roguelike game";
    mainProgram = "harmonist";
    longDescription = ''
@@ -32,7 +35,7 @@ buildGoModule rec {
      adaptability for character progression.
    '';
    homepage = "https://harmonist.tuxfamily.org/";
    license = licenses.isc;
    license = lib.licenses.isc;
    maintainers = [ ];
  };
}
})