depot/third_party/nixpkgs/pkgs/development/python-modules/hvplot/default.nix

44 lines
850 B
Nix
Raw Normal View History

{
lib,
bokeh,
buildPythonPackage,
colorcet,
fetchPypi,
holoviews,
pandas,
pythonOlder,
}:
buildPythonPackage rec {
pname = "hvplot";
version = "0.9.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-moyekkkTmqo97l8c6g+TzzY3TReemGcF/N3CuSxHB5M=";
};
propagatedBuildInputs = [
bokeh
colorcet
holoviews
pandas
];
# Many tests require a network connection
doCheck = false;
pythonImportsCheck = [ "hvplot.pandas" ];
meta = with lib; {
description = "High-level plotting API for the PyData ecosystem built on HoloViews";
homepage = "https://hvplot.pyviz.org";
changelog = "https://github.com/holoviz/hvplot/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}