Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 42 lines 800 B view raw
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.11.0"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "540789abc21872469e52c59ac3962c61259a8df557feadd6514eb23eb0a64ca7"; 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}