2019-02-24 16:26:44 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, bokeh
|
|
|
|
, holoviews
|
|
|
|
, pandas
|
|
|
|
, pytest
|
|
|
|
, parameterized
|
|
|
|
, nbsmoke
|
|
|
|
, flake8
|
|
|
|
, coveralls
|
|
|
|
, xarray
|
|
|
|
, networkx
|
|
|
|
, streamz
|
2019-11-28 07:34:45 +01:00
|
|
|
, colorcet
|
2019-02-24 16:26:44 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvplot";
|
2019-10-24 08:47:35 +02:00
|
|
|
version = "0.5.2";
|
2019-02-24 16:26:44 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 08:47:35 +02:00
|
|
|
sha256 = "408a7756b980df148d1f2fd59cd690ad4870d7e3c3c5e46c6b5c2e71fc6a097c";
|
2019-02-24 16:26:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest parameterized nbsmoke flake8 coveralls xarray networkx streamz ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bokeh
|
2019-11-28 07:34:45 +01:00
|
|
|
colorcet
|
2019-02-24 16:26:44 +01: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 03:11:51 +02:00
|
|
|
homepage = "https://hvplot.pyviz.org";
|
2019-02-24 16:26:44 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|