mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
52 lines
946 B
Nix
52 lines
946 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
docopt,
|
|
fetchPypi,
|
|
pdfminer-six,
|
|
setuptools,
|
|
wand,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py-pdf-parser";
|
|
version = "0.13.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-dssxWgbMrWFTK4b7oBezF77k9NmUTbdbQED9eyVQGlU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
docopt
|
|
pdfminer-six
|
|
wand
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"docopt"
|
|
"pdfminer.six"
|
|
"wand"
|
|
];
|
|
|
|
# needs pyvoronoi, which isn't packaged yet
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"py_pdf_parser"
|
|
"py_pdf_parser.loaders"
|
|
];
|
|
|
|
meta = {
|
|
description = "Tool to help extracting information from structured PDFs";
|
|
homepage = "https://github.com/jstockwin/py-pdf-parser";
|
|
changelog = "https://github.com/jstockwin/py-pdf-parser/blob/v${version}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|