mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 11:20:10 +00:00
python3Packages.mammoth: 1.12.2 -> 1.13.0 (#567537)
This commit is contained in:
@@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user