intake: 0.4.4 -> 0.5.3 (#66412)
This commit is contained in:
@@ -1,74 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPyPy
|
||||
, mock
|
||||
, pytest
|
||||
, flask
|
||||
, jinja2
|
||||
, markupsafe
|
||||
, werkzeug
|
||||
, itsdangerous
|
||||
, dateutil
|
||||
, requests
|
||||
, six
|
||||
, pygments
|
||||
, pystache
|
||||
, markdown
|
||||
, pyyaml
|
||||
, pyzmq
|
||||
, tornado
|
||||
, colorama
|
||||
, isPy3k
|
||||
, futures
|
||||
, websocket_client
|
||||
, isPy3k
|
||||
, isPyPy
|
||||
, jinja2
|
||||
, lib
|
||||
, mock
|
||||
, numpy
|
||||
, pandas
|
||||
, greenlet
|
||||
, python
|
||||
, bkcharts
|
||||
, nodejs
|
||||
, pillow
|
||||
, pytest
|
||||
, python
|
||||
, python-dateutil
|
||||
, pyyaml
|
||||
, selenium
|
||||
, six
|
||||
, substituteAll
|
||||
, tornado
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bokeh";
|
||||
version = "1.0.4";
|
||||
version = "1.3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ceeb6a75afc1b2de00c2b8b6da121dec3fb77031326897b80d4375a70e96aebf";
|
||||
sha256 = "0m27j29jpi977y95k272xc24qkl5bkniy046cil116hrbgnppng2";
|
||||
};
|
||||
|
||||
disabled = isPyPy;
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./hardcode-nodejs-npmjs-paths.patch;
|
||||
node_bin = "${nodejs}/bin/node";
|
||||
npm_bin = "${nodejs}/bin/npm";
|
||||
})
|
||||
];
|
||||
|
||||
# Some test that uses tornado fails
|
||||
# doCheck = false;
|
||||
disabled = isPyPy;
|
||||
|
||||
checkInputs = [ mock pytest pillow selenium ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pillow
|
||||
flask
|
||||
jinja2
|
||||
markupsafe
|
||||
werkzeug
|
||||
itsdangerous
|
||||
dateutil
|
||||
requests
|
||||
python-dateutil
|
||||
six
|
||||
pygments
|
||||
pystache
|
||||
markdown
|
||||
pyyaml
|
||||
pyzmq
|
||||
tornado
|
||||
colorama
|
||||
bkcharts
|
||||
numpy
|
||||
]
|
||||
++ lib.optionals ( !isPy3k ) [ futures ]
|
||||
++ lib.optionals ( !isPy3k && !isPyPy ) [ websocket_client ]
|
||||
++ lib.optionals ( !isPyPy ) [ numpy pandas greenlet ];
|
||||
++ lib.optionals ( !isPy3k ) [ futures ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover -s bokeh/tests
|
||||
|
||||
Reference in New Issue
Block a user