2017-05-04 16:18:16 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, numpy
|
|
|
|
, nbconvert
|
|
|
|
, pandas
|
|
|
|
, mock
|
|
|
|
, jinja2
|
|
|
|
, branca
|
|
|
|
, six
|
2017-11-11 09:22:25 +01:00
|
|
|
, requests
|
2017-05-04 16:18:16 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "folium";
|
2018-12-15 00:07:24 +01:00
|
|
|
version = "0.7.0";
|
2017-05-04 16:18:16 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-15 00:07:24 +01:00
|
|
|
sha256 = "04mhdl3k644j45rlfkamxz1paf58fxrmnwgvkrvza2fcwcs4nr9n";
|
2017-05-04 16:18:16 +02:00
|
|
|
};
|
|
|
|
|
2018-08-30 17:56:07 +02:00
|
|
|
checkInputs = [ pytest nbconvert pandas mock ];
|
2018-08-31 10:39:44 +02:00
|
|
|
propagatedBuildInputs = [ jinja2 branca six requests numpy ];
|
2017-05-04 16:18:16 +02:00
|
|
|
|
2017-11-11 09:22:25 +01:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
2017-05-04 16:18:16 +02:00
|
|
|
|
2017-11-11 09:22:25 +01:00
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
2017-05-04 16:18:16 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|