Skip to content

Commit

Permalink
python310Packages.pdf2docx: add pip as a build dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tjni authored and Yt committed Aug 30, 2023
1 parent 83f55e3 commit 8dd35e1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/development/python-modules/pdf2docx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, buildPythonPackage
, pythonRelaxDepsHook
, imagemagick
, pip
, pytestCheckHook
, pymupdf
, fire
Expand All @@ -29,7 +30,12 @@ buildPythonPackage {
hash = "sha256-NrT4GURQIJbqnHstfJrPzwLXT9c2oGBi4QJ6eGIFwu4=";
};

nativeBuildInputs = [ pythonRelaxDepsHook imagemagick ];
nativeBuildInputs = [
pip
pythonRelaxDepsHook
imagemagick
];

pythonRemoveDeps = [ "opencv-python" ];

preBuild = "echo '${version}' > version.txt";
Expand Down

0 comments on commit 8dd35e1

Please sign in to comment.