diff --git a/pkgs/development/python-modules/mammoth/default.nix b/pkgs/development/python-modules/mammoth/default.nix index 80687a278004..98d709417f49 100644 --- a/pkgs/development/python-modules/mammoth/default.nix +++ b/pkgs/development/python-modules/mammoth/default.nix @@ -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 = [ ]; }; -} +})