blob: 13d2363b4000f00e718ee6e4950c519e2004149f (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
numpy,
pandas,
xarray,
traitlets,
}:
buildPythonPackage rec {
pname = "traittypes";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-widgets";
repo = "traittypes";
tag = version;
hash = "sha256-RwEZs4QFK+IrPFPBI7+jnQSFQryQFzEbrnOF8OyExuk=";
};
build-system = [ setuptools ];
dependencies = [ traitlets ];
nativeCheckInputs = [
numpy
pandas
xarray
pytestCheckHook
];
disabledTests = [
# AssertionError; see https://github.com/jupyter-widgets/traittypes/issues/55
"test_initial_values"
];
pythonImportsCheck = [ "traittypes" ];
meta = {
description = "Trait types for NumPy, SciPy, XArray, and Pandas";
homepage = "https://github.com/jupyter-widgets/traittypes";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|