mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
41 lines
760 B
Nix
41 lines
760 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, numpy
|
|
, nbconvert
|
|
, pandas
|
|
, mock
|
|
, jinja2
|
|
, branca
|
|
, six
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "folium";
|
|
version = "0.8.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b7a1e907caac6ddaf0614555f58ba9af2ed65356ccc77f6ba6fc3df202d8f146";
|
|
};
|
|
|
|
checkInputs = [ pytest nbconvert pandas mock ];
|
|
propagatedBuildInputs = [ jinja2 branca six 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 ];
|
|
};
|
|
}
|