23 buildPythonPackage rec {
28 disabled = pythonOlder "3.7";
30 src = fetchFromGitHub {
31 owner = "python-visualization";
33 rev = "refs/tags/v${version}";
34 hash = "sha256-TNj3javEETjWpI3xs1y/AuKHqFwnTBmWORZK2fafKqI=";
43 propagatedBuildInputs = [
62 # Tests require internet connection
63 "test__repr_png_is_bytes"
65 "test_heat_map_with_weights"
70 # pooch tries to write somewhere it can, and geodatasets does not give us an env var to customize this.
71 "test_timedynamic_geo_json"
74 pythonImportsCheck = [ "folium" ];
77 description = "Make beautiful maps with Leaflet.js & Python";
78 homepage = "https://github.com/python-visualization/folium";
79 changelog = "https://github.com/python-visualization/folium/blob/v${version}/CHANGES.txt";
80 license = with lib.licenses; [ mit ];
81 maintainers = lib.teams.geospatial.members;