nixpkgs/pkgs/development/python-modules/bokeh/default.nix
R. RyanTM 19e72009b9 python37Packages.bokeh: 1.0.2 -> 1.0.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-bokeh/versions
2019-01-17 09:14:15 +01:00

84 lines
1.3 KiB
Nix

{ 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";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1s0gi4n8bn0ain3k6jz6xzbbpn1jpb7rkadmsri8dkcpwyfhacvs";
};
disabled = isPyPy;
# Some test that uses tornado fails
# doCheck = false;
checkInputs = [ mock pytest pillow selenium ];
propagatedBuildInputs = [
pillow
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";
homepage = https://github.com/bokeh/bokeh;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ orivej ];
};
}