Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 80 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ lib, branca, buildPythonPackage, fetchFromGitHub, geopandas, jinja2, nbconvert, numpy, pandas, pillow, pytestCheckHook, pythonOlder, requests, selenium, setuptools, setuptools-scm, wheel, xyzservices}:
buildPythonPackage rec { pname = "folium"; version = "0.15.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "python-visualization"; repo = "folium"; rev = "refs/tags/v${version}"; hash = "sha256-CHPHxp8xEZhEEMLvhs/xAiOr2Hw6B+5svFNY+QvQa+U="; };
nativeBuildInputs = [ setuptools setuptools-scm wheel ];
propagatedBuildInputs = [ branca jinja2 numpy requests xyzservices ];
nativeCheckInputs = [ geopandas nbconvert pandas pillow pytestCheckHook selenium ];
disabledTests = [ # Tests require internet connection "test__repr_png_is_bytes" "test_geojson" "test_heat_map_with_weights" "test_json_request" "test_notebook" "test_valid_png_size" "test_valid_png" ];
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 = with lib.maintainers; [ fridh ]; };}