nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "docx2txt";
9 version = "0.9";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-GAE/YimxSQkCixmqe/T489bkYy17CJqyn38KTR9mDig=";
15 };
16
17 pythonImportsCheck = [ "docx2txt" ];
18
19 meta = {
20 description = "Pure python-based utility to extract text and images from docx files";
21 mainProgram = "docx2txt";
22 homepage = "https://github.com/ankushshah89/python-docx2txt";
23 license = lib.licenses.mit;
24 maintainers = with lib.maintainers; [ ilkecan ];
25 };
26}