Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
mock,
|
|
plotly,
|
|
requests,
|
|
retrying,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "chart-studio";
|
|
version = "1.1.0-unstable-2025-01-30";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "plotly";
|
|
repo = "chart-studio";
|
|
rev = "44c7c43be0fe7e031ec281c86ee7dae0efa0619e";
|
|
hash = "sha256-RekcZzUcunIqXOSriW+RvpLdvATQWTeRAiR8LFodfQg=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
plotly
|
|
requests
|
|
retrying
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
plotly
|
|
pytestCheckHook
|
|
];
|
|
|
|
preCheck = ''
|
|
export HOME=$(mktemp -d)
|
|
'';
|
|
|
|
# most tests talk to a network service, so only run ones that don't do that.
|
|
enabledTestPaths = [
|
|
"chart_studio/tests/test_core"
|
|
];
|
|
|
|
meta = {
|
|
description = "Utilities for interfacing with Plotly's Chart Studio service";
|
|
homepage = "https://github.com/plotly/chart-studio";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ sarahec ];
|
|
};
|
|
}
|