2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, bokeh
|
|
|
|
, holoviews
|
|
|
|
, pandas
|
|
|
|
, pytest
|
|
|
|
, parameterized
|
|
|
|
, nbsmoke
|
|
|
|
, flake8
|
|
|
|
, coveralls
|
|
|
|
, xarray
|
|
|
|
, networkx
|
|
|
|
, streamz
|
|
|
|
, colorcet
|
2020-06-02 18:00:15 +00:00
|
|
|
, pythonImportsCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvplot";
|
2021-08-22 07:53:02 +00:00
|
|
|
version = "0.7.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-22 07:53:02 +00:00
|
|
|
sha256 = "74b269c6e118dd6f7d2a4039e91f16a193638f4119b4358dc6dbd58a2e71e432";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-06-02 18:00:15 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pythonImportsCheckHook
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
checkInputs = [ pytest parameterized nbsmoke flake8 coveralls xarray networkx streamz ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bokeh
|
|
|
|
colorcet
|
|
|
|
holoviews
|
|
|
|
pandas
|
|
|
|
];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
|
|
|
# many tests require a network connection
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-02 18:00:15 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"hvplot.pandas"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A high-level plotting API for the PyData ecosystem built on HoloViews";
|
|
|
|
homepage = "https://hvplot.pyviz.org";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|