From a0005de253a11840fa7eeb76493535053bb49024 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jul 2021 22:11:48 +0200 Subject: [PATCH] python3Packages.geographiclib: enable tests --- pkgs/development/python-modules/geographiclib/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/geographiclib/default.nix b/pkgs/development/python-modules/geographiclib/default.nix index cb13d89a76db..5ebaac9cea5e 100644 --- a/pkgs/development/python-modules/geographiclib/default.nix +++ b/pkgs/development/python-modules/geographiclib/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, pytestCheckHook }: buildPythonPackage rec { @@ -12,6 +13,12 @@ buildPythonPackage rec { sha256 = "sha256-rEANZyuJVLAwa8qJCwiLuLoqdX3IEzzKC4ePNLM7J0A="; }; + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ "geographiclib" ]; + meta = with lib; { homepage = "https://geographiclib.sourceforge.io"; description = "Algorithms for geodesics (Karney, 2013) for solving the direct and inverse problems for an ellipsoid of revolution";