Merge pull request #196115 from fabaff/haversine-bump

python310Packages.haversine: 2.6.0 -> 2.7.0

authored by Robert Scott and committed by GitHub 0b27bfec b8adc2c3

+9 -3
+9 -3
pkgs/development/python-modules/haversine/default.nix
··· 3 3 , fetchFromGitHub 4 4 , numpy 5 5 , pytestCheckHook 6 + , pythonOlder 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "haversine"; 10 - version = "2.6.0"; 11 + version = "2.7.0"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 11 15 12 16 src = fetchFromGitHub { 13 17 owner = "mapado"; 14 18 repo = pname; 15 19 rev = "v${version}"; 16 - sha256 = "sha256-cFb2DsXIwaaJK3tiOTCc0k45FVJ4/Vudkq0rzqalGJs="; 20 + hash = "sha256-iAGG1mjrt6oJ0IkmlJwrvb2Bpk4dNxV7ee9LYov03UY="; 17 21 }; 18 22 19 23 checkInputs = [ ··· 21 25 pytestCheckHook 22 26 ]; 23 27 24 - pythonImportsCheck = [ "haversine" ]; 28 + pythonImportsCheck = [ 29 + "haversine" 30 + ]; 25 31 26 32 meta = with lib; { 27 33 description = "Python module the distance between 2 points on earth";