19 buildPythonPackage rec {
22 format = "setuptools";
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
27 owner = "python-visualization";
29 rev = "refs/tags/v${version}";
30 hash = "sha256-xaz9oelkyS8lWECCmKs8P3mHB3Usv0KMUoh/K7rBnAs=";
33 SETUPTOOLS_SCM_PRETEND_VERSION = version;
39 propagatedBuildInputs = [
57 # Tests require internet connection
58 "test__repr_png_is_bytes"
60 "test_heat_map_with_weights"
67 pythonImportsCheck = [
72 description = "Make beautiful maps with Leaflet.js & Python";
73 homepage = "https://github.com/python-visualization/folium";
74 changelog = "https://github.com/python-visualization/folium/blob/v${version}/CHANGES.txt";
75 license = with lib.licenses; [ mit ];
76 maintainers = with lib.maintainers; [ fridh ];