python310Packages.pdf2docx: add pip as a build dependency

This commit is contained in:
Theodore Ni 2023-08-30 07:19:52 -07:00 committed by Yt
parent 83f55e3bda
commit 8dd35e19f6

View file

@ -5,6 +5,7 @@
, buildPythonPackage , buildPythonPackage
, pythonRelaxDepsHook , pythonRelaxDepsHook
, imagemagick , imagemagick
, pip
, pytestCheckHook , pytestCheckHook
, pymupdf , pymupdf
, fire , fire
@ -29,7 +30,12 @@ buildPythonPackage {
hash = "sha256-NrT4GURQIJbqnHstfJrPzwLXT9c2oGBi4QJ6eGIFwu4="; hash = "sha256-NrT4GURQIJbqnHstfJrPzwLXT9c2oGBi4QJ6eGIFwu4=";
}; };
nativeBuildInputs = [ pythonRelaxDepsHook imagemagick ]; nativeBuildInputs = [
pip
pythonRelaxDepsHook
imagemagick
];
pythonRemoveDeps = [ "opencv-python" ]; pythonRemoveDeps = [ "opencv-python" ];
preBuild = "echo '${version}' > version.txt"; preBuild = "echo '${version}' > version.txt";