mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
58 lines
1.0 KiB
Nix
58 lines
1.0 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, bokeh
|
|
, holoviews
|
|
, pandas
|
|
, pytest
|
|
, parameterized
|
|
, nbsmoke
|
|
, flake8
|
|
, coveralls
|
|
, xarray
|
|
, networkx
|
|
, streamz
|
|
, colorcet
|
|
, pythonImportsCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hvplot";
|
|
version = "0.7.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f0dcfcb5e46ae3c29a646c341435986e332ef38af1057bf7b76abadff0bbaca4";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pythonImportsCheckHook
|
|
];
|
|
|
|
checkInputs = [ pytest parameterized nbsmoke flake8 coveralls xarray networkx streamz ];
|
|
propagatedBuildInputs = [
|
|
bokeh
|
|
colorcet
|
|
holoviews
|
|
pandas
|
|
];
|
|
|
|
preCheck = ''
|
|
export HOME=$(mktemp -d)
|
|
'';
|
|
|
|
# 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 = [ maintainers.costrouc ];
|
|
};
|
|
}
|