diff options
Diffstat (limited to 'pkgs/development/python-modules/folium/default.nix')
-rw-r--r-- | pkgs/development/python-modules/folium/default.nix | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/folium/default.nix b/pkgs/development/python-modules/folium/default.nix index 1478e274c8c3..d8e2e317dbba 100644 --- a/pkgs/development/python-modules/folium/default.nix +++ b/pkgs/development/python-modules/folium/default.nix @@ -1,26 +1,28 @@ -{ lib -, branca -, buildPythonPackage -, fetchFromGitHub -, geopandas -, jinja2 -, nbconvert -, numpy -, pandas -, pillow -, pytestCheckHook -, pythonOlder -, requests -, selenium -, setuptools -, setuptools-scm -, wheel -, xyzservices +{ + lib, + branca, + buildPythonPackage, + fetchFromGitHub, + geodatasets, + geopandas, + jinja2, + nbconvert, + numpy, + pandas, + pillow, + pytestCheckHook, + pythonOlder, + requests, + selenium, + setuptools, + setuptools-scm, + wheel, + xyzservices, }: buildPythonPackage rec { pname = "folium"; - version = "0.16.0"; + version = "0.18.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -29,7 +31,7 @@ buildPythonPackage rec { owner = "python-visualization"; repo = "folium"; rev = "refs/tags/v${version}"; - hash = "sha256-ADDqjZUQVI4K/Bf38905g1K9TD2/e1RYvYWddvFtdrU="; + hash = "sha256-TNj3javEETjWpI3xs1y/AuKHqFwnTBmWORZK2fafKqI="; }; nativeBuildInputs = [ @@ -47,6 +49,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + geodatasets geopandas nbconvert pandas @@ -64,16 +67,17 @@ buildPythonPackage rec { "test_notebook" "test_valid_png_size" "test_valid_png" + # pooch tries to write somewhere it can, and geodatasets does not give us an env var to customize this. + "test_timedynamic_geo_json" ]; - pythonImportsCheck = [ - "folium" - ]; + pythonImportsCheck = [ "folium" ]; meta = { description = "Make beautiful maps with Leaflet.js & Python"; homepage = "https://github.com/python-visualization/folium"; changelog = "https://github.com/python-visualization/folium/blob/v${version}/CHANGES.txt"; license = with lib.licenses; [ mit ]; + maintainers = lib.teams.geospatial.members; }; } |