about summary refs log tree commit diff
path: root/pkgs/development/python-modules/docx2txt/default.nix
blob: 97c7f2b77692df49311ef6b8db25d8971dd4e591 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "docx2txt";
  version = "0.8";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-LAbZjXz+LTlH5XYKV9kk4/8HdFs3nIc3cjki5wCSNuU=";
  };

  pythonImportsCheck = [
    "docx2txt"
  ];

  meta = with lib; {
    description = "A pure python-based utility to extract text and images from docx files";
    mainProgram = "docx2txt";
    homepage = "https://github.com/ankushshah89/python-docx2txt";
    license = licenses.mit;
    maintainers = with maintainers; [ ilkecan ];
  };
}