depot/third_party/nixpkgs/pkgs/development/python-modules/mapbox/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

52 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
boto3,
cachecontrol,
fetchFromGitHub,
iso3166,
python-dateutil,
requests,
responses,
polyline,
pytestCheckHook,
uritemplate,
}:
buildPythonPackage rec {
pname = "mapbox";
version = "0.18.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "mapbox";
repo = "mapbox-sdk-py";
rev = "0.18.0";
sha256 = "123wsa4j11ps5pkjgylbmw4gnzh2vi22swgmvy50w26glkszh075";
};
propagatedBuildInputs = [
boto3
cachecontrol
iso3166
python-dateutil
requests
polyline
uritemplate
];
nativeCheckInputs = [
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 ];
# ImportError: cannot import name 'Mapping' from 'collections'
# and archived upstreamed
broken = true;
};
}