depot/third_party/nixpkgs/pkgs/development/python-modules/mapbox/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

36 lines
832 B
Nix

{ 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 ];
};
}