15 buildPythonPackage rec {
16 pname = "python-docx";
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
23 owner = "python-openxml";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-isxMtq5j5J02GcHMzOJdJw+ZokLoxA6fG1xsN21Irbc=";
29 build-system = [ setuptools ];
44 behave --format progress --stop --tags=-wip
47 pythonImportsCheck = [ "docx" ];
50 # https://github.com/python-openxml/python-docx/issues/1302
51 "it_accepts_unicode_providing_there_is_no_encoding_declaration"
56 "ignore::DeprecationWarning"
60 description = "Create and update Microsoft Word .docx files";
61 homepage = "https://python-docx.readthedocs.io/";
62 changelog = "https://github.com/python-openxml/python-docx/blob/v${version}/HISTORY.rst";
63 license = licenses.mit;
64 maintainers = with maintainers; [ alexchapman ];