depot/third_party/nixpkgs/pkgs/development/python-modules/dash/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

55 lines
1,014 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, plotly
, flask
, flask-compress
, dash-core-components
, dash-html-components
, dash-table
, pytest-mock
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dash";
version = "2.0.0";
src = fetchFromGitHub {
owner = "plotly";
repo = pname;
rev = "v${version}";
sha256 = "sha256-0RvA5qkwQJGyy81D5kW+IR6LbaD/KBwMy6kYxTETubg=";
};
propagatedBuildInputs = [
plotly
flask
flask-compress
dash-core-components
dash-html-components
dash-table
];
checkInputs = [
pytestCheckHook
pytest-mock
mock
];
disabledTestPaths = [
"tests/unit/test_browser.py"
"tests/unit/test_app_runners.py" # Use selenium
"tests/integration"
];
pythonImportsCheck = [ "dash" ];
meta = with lib; {
description = "Python framework for building analytical web applications";
homepage = "https://dash.plot.ly/";
license = licenses.mit;
maintainers = [ maintainers.antoinerg ];
};
}