2ce5db779a
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
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.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-hjDbo0lpsQXiZ8vhQjfi1W2ZacgBmArl5RkLwYsnktY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|