1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/python-modules/folium/default.nix
2017-11-11 09:22:25 +01:00

41 lines
760 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, numpy
, nbconvert
, pandas
, mock
, jinja2
, branca
, six
, requests
}:
buildPythonPackage rec {
pname = "folium";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "748944521146d85c6cd6230acf234e885864cd0f42fea3758d655488517e5e6e";
};
checkInputs = [ pytest numpy nbconvert pandas mock ];
propagatedBuildInputs = [ jinja2 branca six requests ];
# 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 ];
};
}