From dfc593b315628463ad1005c844ad962d95ef9d51 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 21 Oct 2025 09:24:44 +0000 Subject: [PATCH] python3Packages.mercantile: add versionCheckHook --- pkgs/development/python-modules/mercantile/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mercantile/default.nix b/pkgs/development/python-modules/mercantile/default.nix index 61357b3a7ad6..0c825469ed6e 100644 --- a/pkgs/development/python-modules/mercantile/default.nix +++ b/pkgs/development/python-modules/mercantile/default.nix @@ -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