2019-12-07 00:26:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, boto3
|
|
|
|
, cachecontrol
|
|
|
|
, fetchFromGitHub
|
|
|
|
, iso3166
|
|
|
|
, python-dateutil
|
|
|
|
, requests
|
|
|
|
, responses
|
|
|
|
, polyline
|
|
|
|
, pytestCheckHook
|
|
|
|
, uritemplate
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mapbox";
|
|
|
|
version = "0.18.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mapbox";
|
|
|
|
repo = "mapbox-sdk-py";
|
|
|
|
rev = "0.18.0";
|
|
|
|
sha256 = "123wsa4j11ps5pkjgylbmw4gnzh2vi22swgmvy50w26glkszh075";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ boto3 cachecontrol iso3166 python-dateutil requests polyline uritemplate ];
|
|
|
|
checkInputs = [ pytestCheckHook responses ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mapbox/mapbox-sdk-py";
|
2019-12-07 00:26:13 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "Mapbox SDK for Python";
|
|
|
|
longDescription = "Low-level client API for Mapbox web services.";
|
|
|
|
maintainers = with maintainers; [ ersin ];
|
|
|
|
};
|
|
|
|
}
|