10 buildPythonPackage rec {
11 pname = "docx2python";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-SavRYnNbESRQh9Elk8qCt/qdI2x+sYZJFMYy+Gojg2k=";
28 propagatedBuildInputs = [
32 nativeCheckInputs = [ pytestCheckHook ];
34 pythonImportsCheck = [ "docx2python" ];
37 homepage = "https://github.com/ShayHill/docx2python";
38 description = "Extract docx headers, footers, (formatted) text, footnotes, endnotes, properties, and images";
39 changelog = "https://github.com/ShayHill/docx2python/blob/${src.rev}/CHANGELOG.md";
40 maintainers = [ maintainers.ivar ];
41 license = licenses.mit;