mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 06:13:54 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
40 lines
954 B
Nix
40 lines
954 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 ];
|
|
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;
|
|
};
|
|
}
|