Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonPackages.chart-studio: init at 1.0.0

authored by Jonathan Ringer and committed by Jon ceefed07 8c9c942e

+46
+44
pkgs/development/python-modules/chart-studio/default.nix
···
··· 1 + { lib, buildPythonPackage, fetchFromGitHub 2 + , mock 3 + , nose 4 + , plotly 5 + , pytest 6 + , requests 7 + , retrying 8 + , six 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "chart-studio"; 13 + version = "1.0.0"; 14 + 15 + # chart-studio was split from plotly 16 + src = fetchFromGitHub { 17 + owner = "plotly"; 18 + repo = "plotly.py"; 19 + rev = "${pname}-v${version}"; 20 + sha256 = "14lyqbjdffnlnkzlfnn60k7yxjd99vx3hfcs23apsiyinzipjlbf"; 21 + }; 22 + 23 + sourceRoot = "source/packages/python/chart-studio"; 24 + 25 + propagatedBuildInputs = [ 26 + plotly 27 + requests 28 + retrying 29 + six 30 + ]; 31 + 32 + checkInputs = [ mock nose pytest ]; 33 + # most tests talk to a service 34 + checkPhase = '' 35 + HOME=$TMPDIR pytest chart_studio/tests/test_core chart_studio/tests/test_plot_ly/test_api 36 + ''; 37 + 38 + meta = with lib; { 39 + description = "Utilities for interfacing with Plotly's Chart Studio service"; 40 + homepage = "https://github.com/plotly/plotly.py/tree/master/packages/python/chart-studio"; 41 + license = with licenses; [ mit ]; 42 + maintainers = with maintainers; [ jonringer ]; 43 + }; 44 + }
+2
pkgs/top-level/python-packages.nix
··· 1804 1805 characteristic = callPackage ../development/python-modules/characteristic { }; 1806 1807 cheetah = callPackage ../development/python-modules/cheetah { }; 1808 1809 cherrypy = if isPy3k then
··· 1804 1805 characteristic = callPackage ../development/python-modules/characteristic { }; 1806 1807 + chart-studio = callPackage ../development/python-modules/chart-studio { }; 1808 + 1809 cheetah = callPackage ../development/python-modules/cheetah { }; 1810 1811 cherrypy = if isPy3k then