mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
python310Packages.dash: add extra dependencies
This commit is contained in:
parent
321e60b24b
commit
9dfb840320
@ -1,17 +1,21 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, celery
|
||||||
, fetchFromGitHub
|
|
||||||
, plotly
|
|
||||||
, flask
|
|
||||||
, flask-compress
|
|
||||||
, dash-core-components
|
, dash-core-components
|
||||||
, dash-html-components
|
, dash-html-components
|
||||||
, dash-table
|
, dash-table
|
||||||
, pytest-mock
|
, diskcache
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flask
|
||||||
|
, flask-compress
|
||||||
, mock
|
, mock
|
||||||
, pyyaml
|
, multiprocess
|
||||||
|
, plotly
|
||||||
|
, psutil
|
||||||
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pyyaml
|
||||||
|
, redis
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -25,7 +29,7 @@ buildPythonPackage rec {
|
|||||||
owner = "plotly";
|
owner = "plotly";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-Qh5oOkTxEbxXXDX+g9TDa5DiYBlMpnx0yKsn/XMfMF0=";
|
hash = "sha256-Qh5oOkTxEbxXXDX+g9TDa5DiYBlMpnx0yKsn/XMfMF0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -37,6 +41,18 @@ buildPythonPackage rec {
|
|||||||
dash-table
|
dash-table
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.optional-dependencies = {
|
||||||
|
celery = [
|
||||||
|
celery
|
||||||
|
redis
|
||||||
|
];
|
||||||
|
diskcache = [
|
||||||
|
diskcache
|
||||||
|
multiprocess
|
||||||
|
psutil
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-mock
|
pytest-mock
|
||||||
@ -50,12 +66,14 @@ buildPythonPackage rec {
|
|||||||
"tests/integration"
|
"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/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.antoinerg ];
|
maintainers = with maintainers; [ antoinerg ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user