diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-09 22:11:48 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-07-09 14:37:40 -0700 |
commit | a0005de253a11840fa7eeb76493535053bb49024 (patch) | |
tree | ee502261f2962b2a908b9034aff33487d7be98f7 /pkgs/development/python-modules/geographiclib | |
parent | ed97a5f158ee3c8d48604a32713c3d905c67bdd3 (diff) | |
download | nixpkgs-a0005de253a11840fa7eeb76493535053bb49024.tar nixpkgs-a0005de253a11840fa7eeb76493535053bb49024.tar.gz nixpkgs-a0005de253a11840fa7eeb76493535053bb49024.tar.bz2 nixpkgs-a0005de253a11840fa7eeb76493535053bb49024.tar.lz nixpkgs-a0005de253a11840fa7eeb76493535053bb49024.tar.xz nixpkgs-a0005de253a11840fa7eeb76493535053bb49024.tar.zst nixpkgs-a0005de253a11840fa7eeb76493535053bb49024.zip |
python3Packages.geographiclib: enable tests
Diffstat (limited to 'pkgs/development/python-modules/geographiclib')
-rw-r--r-- | pkgs/development/python-modules/geographiclib/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/geographiclib/default.nix b/pkgs/development/python-modules/geographiclib/default.nix index cb13d89a76d..5ebaac9cea5 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"; |