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