python310Packages.pdf2docx: add pip as a build dependency
This commit is contained in:
parent
83f55e3bda
commit
8dd35e19f6
1 changed files with 7 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue