summary refs log tree commit diff
path: root/pkgs/development/python-modules/mapbox/default.nix
blob: 1eec58919d5c9bfdd49e2c7c6040258f4e874f3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ 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; {
    homepage = https://github.com/mapbox/mapbox-sdk-py;
    license = licenses.mit;
    description = "Mapbox SDK for Python";
    longDescription = "Low-level client API for Mapbox web services.";
    maintainers = with maintainers; [ ersin ];
  };
}