mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 18:23:44 +00:00
python310Packages.pydeck: move some inputs to optional-dependencies
This commit is contained in:
parent
0d40a3066c
commit
32c8912889
@ -3,12 +3,14 @@
|
||||
, fetchPypi
|
||||
, ipykernel
|
||||
, ipywidgets
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pandas
|
||||
, jinja2
|
||||
, numpy
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, traitlets
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -23,21 +25,37 @@ buildPythonPackage rec {
|
||||
hash = "sha256-B+3egz98/O9nSRJDURlap9zSRmPUkJ/XiY29C2+8Aew=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jinja2
|
||||
numpy
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
carto = [
|
||||
# pydeck-carto
|
||||
];
|
||||
jupyter = [
|
||||
ipykernel
|
||||
ipywidgets
|
||||
traitlets
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "pydeck" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook pandas ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pandas
|
||||
] ++ passthru.optional-dependencies.jupyter;
|
||||
|
||||
# tries to start a jupyter server
|
||||
disabledTests = [ "test_nbconvert" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ipykernel
|
||||
ipywidgets
|
||||
jinja2
|
||||
numpy
|
||||
traitlets
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/visgl/deck.gl/tree/master/bindings/pydeck";
|
||||
description = "Large-scale interactive data visualization in Python";
|
||||
|
Loading…
Reference in New Issue
Block a user