b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
43 lines
781 B
Nix
43 lines
781 B
Nix
{ lib
|
|
, bokeh
|
|
, buildPythonPackage
|
|
, colorcet
|
|
, fetchPypi
|
|
, holoviews
|
|
, pandas
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hvplot";
|
|
version = "0.8.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-U93+BnQ8TVkk+x5ZdlW/oU6A/q9XpDi/0oRC02rHwrY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
bokeh
|
|
colorcet
|
|
holoviews
|
|
pandas
|
|
];
|
|
|
|
# Many tests require a network connection
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"hvplot.pandas"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A high-level plotting API for the PyData ecosystem built on HoloViews";
|
|
homepage = "https://hvplot.pyviz.org";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|