1{ lib
2, buildPythonPackage
3, boto3
4, cachecontrol
5, fetchFromGitHub
6, iso3166
7, python-dateutil
8, requests
9, responses
10, polyline
11, pytestCheckHook
12, uritemplate
13}:
14
15buildPythonPackage rec {
16 pname = "mapbox";
17 version = "0.18.0";
18
19 src = fetchFromGitHub {
20 owner = "mapbox";
21 repo = "mapbox-sdk-py";
22 rev = "0.18.0";
23 sha256 = "123wsa4j11ps5pkjgylbmw4gnzh2vi22swgmvy50w26glkszh075";
24 };
25
26 propagatedBuildInputs = [ boto3 cachecontrol iso3166 python-dateutil requests polyline uritemplate ];
27 checkInputs = [ pytestCheckHook responses ];
28
29 meta = with lib; {
30 homepage = "https://github.com/mapbox/mapbox-sdk-py";
31 license = licenses.mit;
32 description = "Mapbox SDK for Python";
33 longDescription = "Low-level client API for Mapbox web services.";
34 maintainers = with maintainers; [ ersin ];
35 # ImportError: cannot import name 'Mapping' from 'collections'
36 # and archived upstreamed
37 broken = true;
38 };
39}