pythonPackage.openrouteservice: init at 2.3.0
This commit is contained in:
parent
afa12b1128
commit
b1073f27d9
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/openrouteservice/default.nix
Normal file
29
pkgs/development/python-modules/openrouteservice/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, requests, responses, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openrouteservice";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GIScience";
|
||||
repo = "${pname}-py";
|
||||
rev = "v${version}";
|
||||
sha256 = "ySXzOQI9NcF1W/otbL7i3AY628/74ZkJjDMQ9ywVEPc=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook responses ];
|
||||
|
||||
disabledTests = [
|
||||
# touches network
|
||||
"test_optimized_waypoints"
|
||||
"test_invalid_api_key"
|
||||
"test_raise_timeout_retriable_requests"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/GIScience/openrouteservice-py";
|
||||
description = "The Python API to consume openrouteservice(s) painlessly";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ Scriptkiddi ];
|
||||
};
|
||||
}
|
|
@ -4191,6 +4191,8 @@ in {
|
|||
|
||||
openrazer-daemon = callPackage ../development/python-modules/openrazer/daemon.nix { };
|
||||
|
||||
openrouteservice = callPackage ../development/python-modules/openrouteservice/default.nix { };
|
||||
|
||||
opentimestamps = callPackage ../development/python-modules/opentimestamps { };
|
||||
|
||||
opentracing = callPackage ../development/python-modules/opentracing { };
|
||||
|
|
Loading…
Reference in a new issue