From a98ed1813ae6c324fa82a8f6382618dcf0c958ae Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 17 Aug 2023 18:12:07 +0200 Subject: [PATCH] honk: 0.9.91 -> 1.0.0 --- pkgs/servers/honk/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/honk/default.nix b/pkgs/servers/honk/default.nix index cdcc0ddb63ac..74ef1daa2135 100644 --- a/pkgs/servers/honk/default.nix +++ b/pkgs/servers/honk/default.nix @@ -2,11 +2,11 @@ buildGoModule rec { pname = "honk"; - version = "0.9.91"; + version = "1.0.0"; src = fetchurl { url = "https://humungus.tedunangst.com/r/honk/d/honk-${version}.tgz"; - hash = "sha256-+NFWTTMVdngWsC8/EIN2xJC/5C4naaAekk/YoA17wFk="; + hash = "sha256-+0W9HncN+51dRE9bWJU4cAfYOc5bxNAqPe4xY+4UFg0="; }; vendorHash = null; @@ -14,6 +14,9 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; subPackages = [ "." ]; + # This susbtitution is not mandatory. It is only existing to have something + # working out of the box. This value can be overriden by the user, by + # providing the `-viewdir` parameter in the command line. postPatch = '' substituteInPlace honk.go --replace \ "var viewDir = \".\"" \