Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python3Packages.haversine: init at 2.3.0

+34
+32
pkgs/development/python-modules/haversine/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , numpy 5 + , pytestCheckHook 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "haversine"; 10 + version = "2.3.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "mapado"; 14 + repo = pname; 15 + rev = "v${version}"; 16 + sha256 = "1c3yf9162b2b7l1lsw3ffd1linnc542qvljpgwxp6y5arrmljqnv"; 17 + }; 18 + 19 + checkInputs = [ 20 + numpy 21 + pytestCheckHook 22 + ]; 23 + 24 + pythonImportsCheck = [ "haversine" ]; 25 + 26 + meta = with lib; { 27 + description = "Python module the distance between 2 points on earth"; 28 + homepage = "https://github.com/mapado/haversine"; 29 + license = with licenses; [ mit ]; 30 + maintainers = with maintainers; [ fab ]; 31 + }; 32 + }
+2
pkgs/top-level/python-packages.nix
··· 2859 2860 hatasmota = callPackage ../development/python-modules/hatasmota { }; 2861 2862 hawkauthlib = callPackage ../development/python-modules/hawkauthlib { }; 2863 2864 hbmqtt = callPackage ../development/python-modules/hbmqtt { };
··· 2859 2860 hatasmota = callPackage ../development/python-modules/hatasmota { }; 2861 2862 + haversine = callPackage ../development/python-modules/haversine { }; 2863 + 2864 hawkauthlib = callPackage ../development/python-modules/hawkauthlib { }; 2865 2866 hbmqtt = callPackage ../development/python-modules/hbmqtt { };