pythonPackages.chart-studio: init at 1.0.0
This commit is contained in:
parent
8c9c942e90
commit
ceefed0723
44
pkgs/development/python-modules/chart-studio/default.nix
Normal file
44
pkgs/development/python-modules/chart-studio/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -1804,6 +1804,8 @@ in {
|
|||
|
||||
characteristic = callPackage ../development/python-modules/characteristic { };
|
||||
|
||||
chart-studio = callPackage ../development/python-modules/chart-studio { };
|
||||
|
||||
cheetah = callPackage ../development/python-modules/cheetah { };
|
||||
|
||||
cherrypy = if isPy3k then
|
||||
|
|
Loading…
Reference in a new issue