Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 42 lines 786 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.10.0"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "18fzxijsgrb95r0a8anc9ba5ijyw3nlnv3rpavfbkqa5v878x84f"; 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}