python3Packages.mercantile: add versionCheckHook

This commit is contained in:
Gaetan Lepage
2025-10-21 09:25:06 +00:00
parent 596e5dbd11
commit dfc593b315
@@ -10,8 +10,9 @@
click,
# tests
pytestCheckHook,
hypothesis,
pytestCheckHook,
versionCheckHook,
}:
buildPythonPackage rec {
@@ -35,9 +36,11 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
pytestCheckHook
hypothesis
pytestCheckHook
versionCheckHook
];
versionCheckProgramArg = "--version";
disabledTests = [
# AssertionError CLI exists with non-zero error code