liblouis: 3.33.0 → 3.38.0

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 <https://www.gnu.org/software/automake/manual/automake.html#Texinfo>:

  > 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.
This commit is contained in:
Jan Tojnar
2026-07-12 16:56:40 +02:00
parent e73de5be04
commit 652362a62b
+10 -3
View File
@@ -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;