blob: 068022c598fb80916fdf86101ad77a5e6b1c44dc (
plain)
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
49
50
51
|
{
buildPythonPackage,
fetchPypi,
hatch-jupyter-builder,
hatch-nodejs-version,
hatchling,
lib,
param,
panel,
}:
buildPythonPackage rec {
pname = "pyviz-comms";
version = "3.0.6";
pyproject = true;
src = fetchPypi {
pname = "pyviz_comms";
inherit version;
hash = "sha256-c9ZrYgOQ2XlZssTYosB3jUH+IFgb5HF/AeRrj66MVpU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"jupyterlab>=4.0.0,<5",' ""
'';
build-system = [
hatch-jupyter-builder
hatch-nodejs-version
hatchling
];
dependencies = [ param ];
# there are not tests with the package
doCheck = false;
pythonImportsCheck = [ "pyviz_comms" ];
passthru.tests = {
inherit panel;
};
meta = {
description = "Bidirectional communication for the HoloViz ecosystem";
homepage = "https://pyviz.org/";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|