d5c861bfee
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-folium/versions
43 lines
786 B
Nix
43 lines
786 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, pytest
|
|
, numpy
|
|
, nbconvert
|
|
, pandas
|
|
, mock
|
|
, jinja2
|
|
, branca
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "folium";
|
|
version = "0.10.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "18fzxijsgrb95r0a8anc9ba5ijyw3nlnv3rpavfbkqa5v878x84f";
|
|
};
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
checkInputs = [ pytest nbconvert pandas mock ];
|
|
propagatedBuildInputs = [ jinja2 branca requests numpy ];
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|