mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
45 lines
857 B
Nix
45 lines
857 B
Nix
{ lib
|
|
, bokeh
|
|
, buildPythonPackage
|
|
, colorcet
|
|
, fetchPypi
|
|
, holoviews
|
|
, pandas
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hvplot";
|
|
version = "0.8.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-/q2zlawBoL5fyJFVRSRGwrnEEqmdY+rAKQgxOBY9XBs=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/holoviz/hvplot/releases/tag/v${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|