3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/hvplot/default.nix
2020-04-10 17:54:53 +01:00

49 lines
894 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, bokeh
, holoviews
, pandas
, pytest
, parameterized
, nbsmoke
, flake8
, coveralls
, xarray
, networkx
, streamz
, colorcet
}:
buildPythonPackage rec {
pname = "hvplot";
version = "0.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "408a7756b980df148d1f2fd59cd690ad4870d7e3c3c5e46c6b5c2e71fc6a097c";
};
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;
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 ];
};
}