pythonCatchConflictsHook: improve docs

This commit is contained in:
DavHau 2024-02-12 19:30:46 +07:00
parent ffa815958e
commit a299915fff

View file

@ -469,7 +469,7 @@ are used in [`buildPythonPackage`](#buildpythonpackage-function).
be added as `nativeBuildInput`. be added as `nativeBuildInput`.
- `pipInstallHook` to install wheels. - `pipInstallHook` to install wheels.
- `pytestCheckHook` to run tests with `pytest`. See [example usage](#using-pytestcheckhook). - `pytestCheckHook` to run tests with `pytest`. See [example usage](#using-pytestcheckhook).
- `pythonCatchConflictsHook` to check whether a Python package is not already existing. - `pythonCatchConflictsHook` to fail if the package depends on two different versions of the same dependency.
- `pythonImportsCheckHook` to check whether importing the listed modules works. - `pythonImportsCheckHook` to check whether importing the listed modules works.
- `pythonRelaxDepsHook` will relax Python dependencies restrictions for the package. - `pythonRelaxDepsHook` will relax Python dependencies restrictions for the package.
See [example usage](#using-pythonrelaxdepshook). See [example usage](#using-pythonrelaxdepshook).