1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/python-modules/folium/default.nix

41 lines
766 B
Nix
Raw Normal View History

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