honk: 1.3.1 -> 1.4.1

This commit is contained in:
Pol Dellaiera 2024-08-12 10:14:50 +02:00
parent 1967487244
commit 190557b19e
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -8,11 +8,11 @@
buildGoModule rec {
pname = "honk";
version = "1.3.1";
version = "1.4.1";
src = fetchurl {
url = "https://humungus.tedunangst.com/r/honk/d/honk-${version}.tgz";
hash = "sha256-F4Hz36nvcZv8MTh7a9Zr73kEBTS0c16Xty3T6/EzJeI=";
hash = "sha256-o9K/ht31nEbx2JmLG3OSIgKZGygpDhZYqCxs6tuSnlc=";
};
vendorHash = null;
@ -27,10 +27,10 @@ buildGoModule rec {
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
# working out of the box. This value can be overridden by the user, by
# providing the `-viewdir` parameter in the command line.
postPatch = ''
substituteInPlace main.go --replace \
substituteInPlace main.go --replace-fail \
"var viewDir = \".\"" \
"var viewDir = \"$out/share/honk\""
'';