gotenberg: 8.16.0 -> 8.20.1

This commit is contained in:
Sandro Jäckel
2025-04-25 14:56:36 +02:00
parent b8c6cc2cd5
commit f2a5ddd7d3
+3 -5
View File
@@ -24,21 +24,19 @@ let
in
buildGoModule rec {
pname = "gotenberg";
version = "8.16.0";
version = "8.20.1";
src = fetchFromGitHub {
owner = "gotenberg";
repo = "gotenberg";
tag = "v${version}";
hash = "sha256-m8aDhfcUa3QFr+7hzlQFL2wPfcx5RE+3dl5RHzWwau0=";
hash = "sha256-3+6bdO6rFSyRtRQjXBPefwjuX0AMuGzHNAQas7HNNRE=";
};
vendorHash = "sha256-EM+Rpo4Zf+aqA56aFeuQ0tbvpTgZhmfv+B7qYI6PXWc=";
vendorHash = "sha256-qZ4cgVZAmjIwXhtQ7DlAZAZxyXP89ZWafsSUPQE0dxE=";
postPatch = ''
find ./pkg -name '*_test.go' -exec sed -i -e 's#/tests#${src}#g' {} \;
substituteInPlace pkg/gotenberg/fs_test.go \
--replace-fail "/tmp" "/build"
'';
nativeBuildInputs = [ makeBinaryWrapper ];