python3Packges.dash: 1.21.0 -> 2.0.0
This commit is contained in:
parent
c2742321c2
commit
7f36ea08c6
@ -9,48 +9,45 @@
|
|||||||
, dash-renderer
|
, dash-renderer
|
||||||
, dash-html-components
|
, dash-html-components
|
||||||
, dash-table
|
, dash-table
|
||||||
, pytest
|
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, mock
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dash";
|
pname = "dash";
|
||||||
version = "1.21.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "plotly";
|
owner = "plotly";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-X2yRlW6aXgRgKgRxLNBUHjkjMaw7K4iydzpWLBNt+Y8=";
|
sha256 = "sha256-0RvA5qkwQJGyy81D5kW+IR6LbaD/KBwMy6kYxTETubg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
plotly
|
plotly
|
||||||
flask
|
flask
|
||||||
flask-compress
|
flask-compress
|
||||||
future
|
|
||||||
dash-core-components
|
dash-core-components
|
||||||
dash-renderer
|
|
||||||
dash-html-components
|
dash-html-components
|
||||||
dash-table
|
dash-table
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytest-mock
|
pytest-mock
|
||||||
mock
|
mock
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
disabledTestPaths = [
|
||||||
pytest tests/unit/test_{configs,fingerprint,resources}.py \
|
"tests/unit/test_browser.py"
|
||||||
tests/unit/dash/
|
"tests/unit/test_app_runners.py" # Use selenium
|
||||||
'';
|
"tests/integration"
|
||||||
|
|
||||||
pythonImportsCheck = [
|
|
||||||
"dash"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "dash" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python framework for building analytical web applications";
|
description = "Python framework for building analytical web applications";
|
||||||
homepage = "https://dash.plot.ly/";
|
homepage = "https://dash.plot.ly/";
|
||||||
|
Loading…
Reference in New Issue
Block a user