1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 mock, 6 plotly, 7 requests, 8 retrying, 9 setuptools, 10 pytestCheckHook, 11}: 12 13buildPythonPackage { 14 pname = "chart-studio"; 15 version = "1.1.0-unstable-2025-01-30"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "plotly"; 20 repo = "chart-studio"; 21 rev = "44c7c43be0fe7e031ec281c86ee7dae0efa0619e"; 22 hash = "sha256-RekcZzUcunIqXOSriW+RvpLdvATQWTeRAiR8LFodfQg="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 plotly 29 requests 30 retrying 31 ]; 32 33 nativeCheckInputs = [ 34 mock 35 plotly 36 pytestCheckHook 37 ]; 38 39 preCheck = '' 40 export HOME=$(mktemp -d) 41 ''; 42 43 # most tests talk to a network service, so only run ones that don't do that. 44 enabledTestPaths = [ 45 "chart_studio/tests/test_core" 46 ]; 47 48 meta = { 49 description = "Utilities for interfacing with Plotly's Chart Studio service"; 50 homepage = "https://github.com/plotly/chart-studio"; 51 license = with lib.licenses; [ mit ]; 52 maintainers = with lib.maintainers; [ sarahec ]; 53 }; 54}