blob: 80539b22e3e045b9a26af5a20a3a4f8f7dd10960 (
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
52
53
54
55
56
57
58
59
60
61
62
|
{
lib,
buildPythonPackage,
fetchPypi,
isPy27,
pytestCheckHook,
nbval,
jupyter-packaging,
ipywidgets,
numpy,
six,
traittypes,
}:
buildPythonPackage rec {
__structuredAttrs = true;
pname = "ipydatawidgets";
version = "4.3.5";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-OU8kiVdlh8/XVTd6CaBn9GytIggZZQkgIf0avL54Uqg=";
};
nativeBuildInputs = [ jupyter-packaging ];
setupPyBuildFlags = [ "--skip-npm" ];
propagatedBuildInputs = [
ipywidgets
numpy
six
traittypes
];
nativeCheckInputs = [
pytestCheckHook
nbval
];
# Tests bind ports
__darwinAllowLocalNetworking = true;
disabledTestPaths = [
# https://github.com/vidartf/ipydatawidgets/issues/62
"ipydatawidgets/tests/test_ndarray_trait.py::test_dtype_coerce"
# https://github.com/vidartf/ipydatawidgets/issues/63
"examples/test.ipynb::Cell 3"
];
meta = {
description = "Widgets to help facilitate reuse of large datasets across different widgets";
homepage = "https://github.com/vidartf/ipydatawidgets";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|