2017-09-05 10:16:41 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPyPy
|
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
, flask
|
|
|
|
, jinja2
|
|
|
|
, markupsafe
|
|
|
|
, werkzeug
|
|
|
|
, itsdangerous
|
|
|
|
, dateutil
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, pygments
|
|
|
|
, pystache
|
|
|
|
, markdown
|
|
|
|
, pyyaml
|
|
|
|
, pyzmq
|
|
|
|
, tornado
|
|
|
|
, colorama
|
|
|
|
, isPy3k
|
|
|
|
, futures
|
|
|
|
, websocket_client
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, greenlet
|
|
|
|
, python
|
|
|
|
, bkcharts
|
|
|
|
, pillow
|
|
|
|
, selenium
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bokeh";
|
2019-01-17 15:12:53 +00:00
|
|
|
version = "1.0.4";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 15:12:53 +00:00
|
|
|
sha256 = "ceeb6a75afc1b2de00c2b8b6da121dec3fb77031326897b80d4375a70e96aebf";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
disabled = isPyPy;
|
|
|
|
|
|
|
|
# Some test that uses tornado fails
|
|
|
|
# doCheck = false;
|
|
|
|
|
|
|
|
checkInputs = [ mock pytest pillow selenium ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2018-10-26 20:43:23 +01:00
|
|
|
pillow
|
2017-09-05 10:16:41 +01:00
|
|
|
flask
|
|
|
|
jinja2
|
|
|
|
markupsafe
|
|
|
|
werkzeug
|
|
|
|
itsdangerous
|
|
|
|
dateutil
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
pygments
|
|
|
|
pystache
|
|
|
|
markdown
|
|
|
|
pyyaml
|
|
|
|
pyzmq
|
|
|
|
tornado
|
|
|
|
colorama
|
|
|
|
bkcharts
|
|
|
|
]
|
|
|
|
++ lib.optionals ( !isPy3k ) [ futures ]
|
|
|
|
++ lib.optionals ( !isPy3k && !isPyPy ) [ websocket_client ]
|
|
|
|
++ lib.optionals ( !isPyPy ) [ numpy pandas greenlet ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover -s bokeh/tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Statistical and novel interactive HTML plots for Python";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://github.com/bokeh/bokeh;
|
2017-09-05 10:16:41 +01:00
|
|
|
license = lib.licenses.bsd3;
|
2017-11-25 22:35:14 +00:00
|
|
|
maintainers = with lib.maintainers; [ orivej ];
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
2017-09-23 16:12:44 +01:00
|
|
|
}
|