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

49 lines
894 B
Nix
Raw Normal View History

2019-02-24 16:26:44 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, bokeh
, holoviews
, pandas
, pytest
, parameterized
, nbsmoke
, flake8
, coveralls
, xarray
, networkx
, streamz
, colorcet
2019-02-24 16:26:44 +01:00
}:
buildPythonPackage rec {
pname = "hvplot";
2019-10-24 08:47:35 +02:00
version = "0.5.2";
2019-02-24 16:26:44 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 08:47:35 +02:00
sha256 = "408a7756b980df148d1f2fd59cd690ad4870d7e3c3c5e46c6b5c2e71fc6a097c";
2019-02-24 16:26:44 +01:00
};
checkInputs = [ pytest parameterized nbsmoke flake8 coveralls xarray networkx streamz ];
propagatedBuildInputs = [
bokeh
colorcet
2019-02-24 16:26:44 +01:00
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";
2019-02-24 16:26:44 +01:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}