honk: 0.9.91 -> 1.0.0

This commit is contained in:
Pol Dellaiera 2023-08-17 18:12:07 +02:00
parent 30683ca1d4
commit a98ed1813a
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -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 = \".\"" \