Skip to content

Commit

Permalink
python.pkgs.folium: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Nov 11, 2017
1 parent 2b2088e commit ff4080e
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions pkgs/development/python-modules/folium/default.nix
Expand Up @@ -9,32 +9,27 @@
, jinja2
, branca
, six
, requests
}:

buildPythonPackage rec {
pname = "folium";
version = "0.5.0";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "748944521146d85c6cd6230acf234e885864cd0f42fea3758d655488517e5e6e";
};

postPatch = ''
# Causes trouble because a certain file cannot be found
rm tests/notebooks/test_notebooks.py
'';

checkInputs = [ pytest numpy nbconvert pandas mock ];
propagatedBuildInputs = [ jinja2 branca six ];
propagatedBuildInputs = [ jinja2 branca six requests ];

#
# doCheck = false;
# No tests in archive
doCheck = false;

# checkPhase = ''
# py.test -k 'not test_notebooks'
# '';
checkPhase = ''
py.test
'';

meta = {
description = "Make beautiful maps with Leaflet.js & Python";
Expand Down

0 comments on commit ff4080e

Please sign in to comment.