diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-12-13 11:43:39 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-12-13 11:43:39 +0100 |
commit | dfdf1597a7cc13c40653722a771be12afaa64edb (patch) | |
tree | 4d7cd3f21ba89453f23ea1addb55e00574a638bf /pkgs/development/python-modules/mapbox/default.nix | |
parent | d5d8b3514d64fcd4022186795f604ec3f360ae17 (diff) | |
parent | 418ad571c3ec856d49b65fa53ab99f185c2d9def (diff) | |
download | nixpkgs-dfdf1597a7cc13c40653722a771be12afaa64edb.tar nixpkgs-dfdf1597a7cc13c40653722a771be12afaa64edb.tar.gz nixpkgs-dfdf1597a7cc13c40653722a771be12afaa64edb.tar.bz2 nixpkgs-dfdf1597a7cc13c40653722a771be12afaa64edb.tar.lz nixpkgs-dfdf1597a7cc13c40653722a771be12afaa64edb.tar.xz nixpkgs-dfdf1597a7cc13c40653722a771be12afaa64edb.tar.zst nixpkgs-dfdf1597a7cc13c40653722a771be12afaa64edb.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/development/python-modules/mapbox/default.nix')
-rw-r--r-- | pkgs/development/python-modules/mapbox/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mapbox/default.nix b/pkgs/development/python-modules/mapbox/default.nix new file mode 100644 index 00000000000..1eec58919d5 --- /dev/null +++ b/pkgs/development/python-modules/mapbox/default.nix @@ -0,0 +1,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 ]; + }; +} |