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

47 lines
868 B
Nix
Raw Normal View History

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