blob: 38b4ed40dca250d771ead8423afdc1688cfcbd07 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
packaging,
tenacity,
kaleido,
}:
buildPythonPackage rec {
pname = "plotly";
version = "5.23.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ieV9ADoRYwOjTeZwCGI5E2fdVkIiq3H4Ux33Ann8AZM=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "\"jupyterlab~=3.0;python_version>='3.6'\"," ""
'';
env.SKIP_NPM = true;
build-system = [ setuptools ];
dependencies = [
packaging
tenacity
kaleido
];
pythonImportsCheck = [ "plotly" ];
# No tests in archive
doCheck = false;
meta = with lib; {
description = "Python plotting library for collaborative, interactive, publication-quality graphs";
downloadPage = "https://github.com/plotly/plotly.py";
homepage = "https://plot.ly/python/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ pandapip1 ];
};
}
|