python3Packages.mammoth: 1.12.2 -> 1.13.0 (#567537)

This commit is contained in:
Fabian Affolter
2026-09-28 20:57:52 +00:00
committed by GitHub

View File

@@ -11,16 +11,16 @@
gitUpdater,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "mammoth";
version = "1.12.2";
version = "1.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mwilliamson";
repo = "python-mammoth";
tag = version;
hash = "sha256-0I03noHNSa02yg3biVdgs9kBS/DdeOTPC5UzKV0S7m0=";
tag = finalAttrs.version;
hash = "sha256-F8lgtxlvM44qvHTv5wK6CKGepV6Jh+SWUoWEzdnLkEI=";
};
postPatch = ''
@@ -32,8 +32,6 @@ buildPythonPackage rec {
dependencies = [ cobble ];
pythonImportsCheck = [ "mammoth" ];
nativeCheckInputs = [
funk
pytestCheckHook
@@ -45,13 +43,15 @@ buildPythonPackage rec {
export PATH=$out/bin:$PATH
'';
pythonImportsCheck = [ "mammoth" ];
passthru.updateScript = gitUpdater { };
meta = {
description = "Convert Word documents (.docx files) to HTML";
homepage = "https://github.com/mwilliamson/python-mammoth";
changelog = "https://github.com/mwilliamson/python-mammoth/blob/${src.tag}/NEWS";
changelog = "https://github.com/mwilliamson/python-mammoth/blob/${finalAttrs.src.tag}/NEWS";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}
})