summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/docx2txt/default.nix
blob: 3e4f64c341a053dfbcf7a4d532f6d8ae20d2ac06 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

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

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-GAE/YimxSQkCixmqe/T489bkYy17CJqyn38KTR9mDig=";
  };

  pythonImportsCheck = [ "docx2txt" ];

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