1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/hvplot/default.nix

58 lines
1 KiB
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
, colorcet
2020-06-02 14:05:41 +01:00
, pythonImportsCheckHook
2019-02-24 15:26:44 +00:00
}:
buildPythonPackage rec {
pname = "hvplot";
2020-06-02 14:05:41 +01:00
version = "0.6.0";
2019-02-24 15:26:44 +00:00
src = fetchPypi {
inherit pname version;
2020-06-02 14:05:41 +01:00
sha256 = "8fcf2f251bd9d4b0390d9c272c992aa75e11174829e416a22de8fba38acc1ce9";
2019-02-24 15:26:44 +00:00
};
2020-06-02 14:05:41 +01:00
nativeBuildInputs = [
pythonImportsCheckHook
];
2019-02-24 15:26:44 +00:00
checkInputs = [ pytest parameterized nbsmoke flake8 coveralls xarray networkx streamz ];
propagatedBuildInputs = [
bokeh
colorcet
2019-02-24 15:26:44 +00:00
holoviews
pandas
];
preCheck = ''
export HOME=$(mktemp -d)
'';
# many tests require a network connection
doCheck = false;
2020-06-02 14:05:41 +01:00
pythonImportsCheck = [
"hvplot.pandas"
];
2019-02-24 15:26:44 +00:00
meta = with lib; {
description = "A high-level plotting API for the PyData ecosystem built on HoloViews";
homepage = "https://hvplot.pyviz.org";
2019-02-24 15:26:44 +00:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}