From 652362a62b3debd815b2ed74abd79f752224c3c0 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 12 Jul 2026 15:32:28 +0200 Subject: [PATCH] =?UTF-8?q?liblouis:=203.33.0=20=E2=86=92=203.38.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/liblouis/liblouis/compare/v3.33.0...v3.38.0 - https://github.com/liblouis/liblouis/releases/tag/v3.34.0 No longer installs html and txt docs: As per : > Following the GNU Coding Standards, only the .info files are built by ‘make all’ and installed by ‘make install’ - https://github.com/liblouis/liblouis/releases/tag/v3.35.0 - https://github.com/liblouis/liblouis/releases/tag/v3.36.0 - https://github.com/liblouis/liblouis/releases/tag/v3.37.0 - https://github.com/liblouis/liblouis/releases/tag/v3.38.0 Also fix `substituteInPlace --replace` deprecation. --- pkgs/by-name/li/liblouis/package.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/liblouis/package.nix b/pkgs/by-name/li/liblouis/package.nix index 082fa6ddfe50..6bfbfbdddd8c 100644 --- a/pkgs/by-name/li/liblouis/package.nix +++ b/pkgs/by-name/li/liblouis/package.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "liblouis"; - version = "3.33.0"; + version = "3.38.0"; outputs = [ "out" @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "liblouis"; repo = "liblouis"; rev = "v${finalAttrs.version}"; - hash = "sha256-+p/2eLbQ5aYtxQIkoHaVE1xDqstveedf+56aRNX9C7M="; + hash = "sha256-OmYMldo2id2HKAM0Hxi6r86khSUnzu22CkJhGBhaaL8="; }; strictDeps = true; @@ -63,7 +63,8 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' patchShebangs tests - substituteInPlace python/louis/__init__.py.in --replace "###LIBLOUIS_SONAME###" "$out/lib/liblouis.so" + substituteInPlace python/louis/__init__.py.in \ + --replace-fail "###LIBLOUIS_SONAME###" "$out/lib/liblouis.so" ''; postInstall = '' @@ -71,6 +72,12 @@ stdenv.mkDerivation (finalAttrs: { python -m build --no-isolation --outdir dist/ --wheel python -m installer --prefix $out dist/*.whl popd + + make install-html MAKEINFOFLAGS="--no-headers --no-split" + pushd doc + make liblouis.txt + popd + install -D -t "$doc/share/doc/liblouis" doc/liblouis.txt ''; doCheck = true;