1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "docx2txt"; 8 version = "0.8"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-LAbZjXz+LTlH5XYKV9kk4/8HdFs3nIc3cjki5wCSNuU="; 14 }; 15 16 pythonImportsCheck = [ 17 "docx2txt" 18 ]; 19 20 meta = with lib; { 21 description = "A pure python-based utility to extract text and images from docx files"; 22 homepage = "https://github.com/ankushshah89/python-docx2txt"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ ilkecan ]; 25 }; 26}