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-11-27 09:42:12 +00:00
|
|
|
version = "0.8.2";
|
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-11-27 09:42:12 +00:00
|
|
|
hash = "sha256-/q2zlawBoL5fyJFVRSRGwrnEEqmdY+rAKQgxOBY9XBs=";
|
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
|
|
|
};
|
|
|
|
}
|