Files
nixpkgs/pkgs/development/python-modules/docx2txt/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
593 B
Nix

{ 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 ];
};
}