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