2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2022-03-30 09:31:56 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "docx2txt";
|
|
|
|
version = "0.8";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-LAbZjXz+LTlH5XYKV9kk4/8HdFs3nIc3cjki5wCSNuU=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "docx2txt" ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A pure python-based utility to extract text and images from docx files";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "docx2txt";
|
2022-03-30 09:31:56 +00:00
|
|
|
homepage = "https://github.com/ankushshah89/python-docx2txt";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ilkecan ];
|
|
|
|
};
|
|
|
|
}
|