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";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.8.4";
|
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;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-7/X9qXExNKwN89JkihGJfuQKCbGiVhrTMBiALhi4fCI=";
|
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";
|
2022-11-27 09:42:12 +00:00
|
|
|
changelog = "https://github.com/holoviz/hvplot/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
2021-10-28 06:52:43 +00:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|