1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pytest 6, numpy 7, nbconvert 8, pandas 9, mock 10, jinja2 11, branca 12, requests 13}: 14 15buildPythonPackage rec { 16 pname = "folium"; 17 version = "0.12.0"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "d45ace0a813ae65f202ce0356eb29c40a5e8fde071e4d6b5be0a89587ebaeab2"; 22 }; 23 24 disabled = pythonOlder "3.5"; 25 26 checkInputs = [ pytest nbconvert pandas mock ]; 27 propagatedBuildInputs = [ jinja2 branca requests numpy ]; 28 29 # No tests in archive 30 doCheck = false; 31 32 checkPhase = '' 33 py.test 34 ''; 35 36 meta = { 37 description = "Make beautiful maps with Leaflet.js & Python"; 38 homepage = "https://github.com/python-visualization/folium"; 39 license = with lib.licenses; [ mit ]; 40 maintainers = with lib.maintainers; [ fridh ]; 41 }; 42}