mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
47 lines
868 B
Nix
47 lines
868 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, bokeh
|
|
, holoviews
|
|
, pandas
|
|
, pytest
|
|
, parameterized
|
|
, nbsmoke
|
|
, flake8
|
|
, coveralls
|
|
, xarray
|
|
, networkx
|
|
, streamz
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hvplot";
|
|
version = "0.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "bce169cf2d1b3ff9ce607d1787f608758e72a498434eaa2bece31eea1f51963a";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|