2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
2021-10-28 06:52:43 +00:00
|
|
|
, bokeh
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2021-10-28 06:52:43 +00:00
|
|
|
, colorcet
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
|
|
|
, holoviews
|
|
|
|
, pandas
|
2022-05-18 14:49:53 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hvplot";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "0.8.1";
|
2022-05-18 14:49:53 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-U93+BnQ8TVkk+x5ZdlW/oU6A/q9XpDi/0oRC02rHwrY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bokeh
|
|
|
|
colorcet
|
|
|
|
holoviews
|
|
|
|
pandas
|
|
|
|
];
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
# Many tests require a network connection
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2021-10-28 06:52:43 +00:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|