diff options
author | Antoine Roy-Gobeil <antoine@plot.ly> | 2020-01-17 13:26:11 -0500 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-21 12:20:15 -0800 |
commit | de6fabbe66d910a6ccc1ee18013195d68d070a07 (patch) | |
tree | fd80175523a3818b5636b8d18cafe8cbdec6ab88 /pkgs/development/python-modules | |
parent | 603034616615c4fef0576234decc847c708ac9f7 (diff) | |
download | nixpkgs-de6fabbe66d910a6ccc1ee18013195d68d070a07.tar nixpkgs-de6fabbe66d910a6ccc1ee18013195d68d070a07.tar.gz nixpkgs-de6fabbe66d910a6ccc1ee18013195d68d070a07.tar.bz2 nixpkgs-de6fabbe66d910a6ccc1ee18013195d68d070a07.tar.lz nixpkgs-de6fabbe66d910a6ccc1ee18013195d68d070a07.tar.xz nixpkgs-de6fabbe66d910a6ccc1ee18013195d68d070a07.tar.zst nixpkgs-de6fabbe66d910a6ccc1ee18013195d68d070a07.zip |
python3Packages.dash: init at 1.8.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/dash/default.nix | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dash/default.nix b/pkgs/development/python-modules/dash/default.nix new file mode 100644 index 00000000000..b813cac03d8 --- /dev/null +++ b/pkgs/development/python-modules/dash/default.nix @@ -0,0 +1,62 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, plotly +, flask +, flask-compress +, future +, dash-core-components +, dash-renderer +, dash-html-components +, dash-table +, pytest +, pytest-mock +, mock +}: + +buildPythonPackage rec { + pname = "dash"; + version = "1.8.0"; + + src = fetchFromGitHub { + owner = "plotly"; + repo = pname; + rev = "v${version}"; + sha256 = "11skbvjlj93aw1pqx6j56h73sy9r06jwq7z5h64fd1a3d4z2gsvy"; + }; + + propagatedBuildInputs = [ + plotly + flask + flask-compress + future + dash-core-components + dash-renderer + dash-html-components + dash-table + ]; + + checkInputs = [ + pytest + pytest-mock + mock + ]; + + checkPhase = '' + pytest tests/unit/test_configs.py + pytest tests/unit/test_fingerprint.py + pytest tests/unit/test_import.py + pytest tests/unit/test_resources.py + pytest tests/unit/dash/ + ''; + + pythonImportsCheck = [ + "dash" + ]; + + meta = with lib; { + description = "Python framework for building analytical web applications"; + homepage = https://dash.plot.ly/; + license = with lib.licenses; [ mit ]; + }; +} |