2019-02-24 15:26:44 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, bokeh
|
|
|
|
, holoviews
|
|
|
|
, pandas
|
|
|
|
, pytest
|
|
|
|
, parameterized
|
|
|
|
, nbsmoke
|
|
|
|
, flake8
|
|
|
|
, coveralls
|
|
|
|
, xarray
|
|
|
|
, networkx
|
|
|
|
, streamz
|
2019-11-28 06:34:45 +00:00
|
|
|
, colorcet
|
2019-02-24 15:26:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvplot";
|
2019-10-24 07:47:35 +01:00
|
|
|
version = "0.5.2";
|
2019-02-24 15:26:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:35 +01:00
|
|
|
sha256 = "408a7756b980df148d1f2fd59cd690ad4870d7e3c3c5e46c6b5c2e71fc6a097c";
|
2019-02-24 15:26:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest parameterized nbsmoke flake8 coveralls xarray networkx streamz ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bokeh
|
2019-11-28 06:34:45 +00:00
|
|
|
colorcet
|
2019-02-24 15:26:44 +00:00
|
|
|
holoviews
|
|
|
|
pandas
|
|
|
|
];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
|
|
|
# many tests require a network connection
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A high-level plotting API for the PyData ecosystem built on HoloViews";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://hvplot.pyviz.org";
|
2019-02-24 15:26:44 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|