diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-10-01 20:38:58 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-10-07 01:47:42 -0700 |
commit | ceefed0723ce291ff810bc8fdfff5fe154cb487b (patch) | |
tree | 64511f0d9dd3c86b63b3ed117f9cef333a1368bb /pkgs/development/python-modules | |
parent | 8c9c942e90e8dce4f587e61fe120bf6e2d152999 (diff) | |
download | nixlib-ceefed0723ce291ff810bc8fdfff5fe154cb487b.tar nixlib-ceefed0723ce291ff810bc8fdfff5fe154cb487b.tar.gz nixlib-ceefed0723ce291ff810bc8fdfff5fe154cb487b.tar.bz2 nixlib-ceefed0723ce291ff810bc8fdfff5fe154cb487b.tar.lz nixlib-ceefed0723ce291ff810bc8fdfff5fe154cb487b.tar.xz nixlib-ceefed0723ce291ff810bc8fdfff5fe154cb487b.tar.zst nixlib-ceefed0723ce291ff810bc8fdfff5fe154cb487b.zip |
pythonPackages.chart-studio: init at 1.0.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/chart-studio/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/chart-studio/default.nix b/pkgs/development/python-modules/chart-studio/default.nix new file mode 100644 index 000000000000..0eed42dc286e --- /dev/null +++ b/pkgs/development/python-modules/chart-studio/default.nix @@ -0,0 +1,44 @@ +{ lib, buildPythonPackage, fetchFromGitHub +, mock +, nose +, plotly +, pytest +, requests +, retrying +, six +}: + +buildPythonPackage rec { + pname = "chart-studio"; + version = "1.0.0"; + + # chart-studio was split from plotly + src = fetchFromGitHub { + owner = "plotly"; + repo = "plotly.py"; + rev = "${pname}-v${version}"; + sha256 = "14lyqbjdffnlnkzlfnn60k7yxjd99vx3hfcs23apsiyinzipjlbf"; + }; + + sourceRoot = "source/packages/python/chart-studio"; + + propagatedBuildInputs = [ + plotly + requests + retrying + six + ]; + + checkInputs = [ mock nose pytest ]; + # most tests talk to a service + checkPhase = '' + HOME=$TMPDIR pytest chart_studio/tests/test_core chart_studio/tests/test_plot_ly/test_api + ''; + + meta = with lib; { + description = "Utilities for interfacing with Plotly's Chart Studio service"; + homepage = "https://github.com/plotly/plotly.py/tree/master/packages/python/chart-studio"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ jonringer ]; + }; +} |