python3Packages.haversine: init at 2.3.0
This commit is contained in:
parent
1af6e3aeed
commit
480f0263ca
32
pkgs/development/python-modules/haversine/default.nix
Normal file
32
pkgs/development/python-modules/haversine/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, numpy
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "haversine";
|
||||||
|
version = "2.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mapado";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1c3yf9162b2b7l1lsw3ffd1linnc542qvljpgwxp6y5arrmljqnv";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
numpy
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "haversine" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module the distance between 2 points on earth";
|
||||||
|
homepage = "https://github.com/mapado/haversine";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -2859,6 +2859,8 @@ in {
|
|||||||
|
|
||||||
hatasmota = callPackage ../development/python-modules/hatasmota { };
|
hatasmota = callPackage ../development/python-modules/hatasmota { };
|
||||||
|
|
||||||
|
haversine = callPackage ../development/python-modules/haversine { };
|
||||||
|
|
||||||
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
|
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
|
||||||
|
|
||||||
hbmqtt = callPackage ../development/python-modules/hbmqtt { };
|
hbmqtt = callPackage ../development/python-modules/hbmqtt { };
|
||||||
|
Loading…
Reference in New Issue
Block a user