2017-05-04 14:18:16 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, numpy
|
|
|
|
, nbconvert
|
|
|
|
, pandas
|
|
|
|
, mock
|
|
|
|
, jinja2
|
|
|
|
, branca
|
|
|
|
, six
|
2017-11-11 08:22:25 +00:00
|
|
|
, requests
|
2017-05-04 14:18:16 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "folium";
|
2017-10-25 18:04:35 +00:00
|
|
|
version = "0.5.0";
|
2017-05-04 14:18:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 18:04:35 +00:00
|
|
|
sha256 = "748944521146d85c6cd6230acf234e885864cd0f42fea3758d655488517e5e6e";
|
2017-05-04 14:18:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest numpy nbconvert pandas mock ];
|
2017-11-11 08:22:25 +00:00
|
|
|
propagatedBuildInputs = [ jinja2 branca six requests ];
|
2017-05-04 14:18:16 +00:00
|
|
|
|
2017-11-11 08:22:25 +00:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
2017-05-04 14:18:16 +00:00
|
|
|
|
2017-11-11 08:22:25 +00:00
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
2017-05-04 14:18:16 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Make beautiful maps with Leaflet.js & Python";
|
|
|
|
homepage = https://github.com/python-visualization/folium;
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|