Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 86 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, buildPythonPackage, celery, dash-core-components, dash-html-components, dash-table, diskcache, fetchFromGitHub, flask, flask-compress, mock, multiprocess, plotly, psutil, pytest-mock, pytestCheckHook, pythonOlder, pyyaml, redis}:
buildPythonPackage rec { pname = "dash"; version = "2.10.1"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "plotly"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-f/+GKbuijSE4LXhC7uPuLwJRk9xmChhanPIe2jagzEg="; };
propagatedBuildInputs = [ dash-core-components dash-html-components dash-table flask flask-compress plotly ];
passthru.optional-dependencies = { celery = [ celery redis ]; diskcache = [ diskcache multiprocess psutil ]; };
nativeCheckInputs = [ mock pytest-mock pytestCheckHook pyyaml ];
disabledTestPaths = [ "tests/unit/test_browser.py" "tests/unit/test_app_runners.py" # Use selenium "tests/integration" ];
disabledTests = [ # Failed: DID NOT RAISE <class 'ImportError'> "test_missing_flask_compress_raises" ];
pythonImportsCheck = [ "dash" ];
meta = with lib; { description = "Python framework for building analytical web applications"; homepage = "https://dash.plot.ly/"; changelog = "https://github.com/plotly/dash/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ antoinerg ]; };}