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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
# build-system
scikit-build-core,
setuptools,
setuptools-scm,
# nativeBuildInputs
cmake,
ninja,
# dependencies
numpy,
units-llnl,
# buildInputs
boost,
eigen,
gtest,
pybind11,
onetbb,
# tests
pytestCheckHook,
scipy,
beautifulsoup4,
ipython,
matplotlib,
pandas,
numba,
xarray,
h5py,
hypothesis,
}:
buildPythonPackage rec {
pname = "scipp";
version = "25.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "scipp";
repo = "Scipp";
tag = version;
hash = "sha256-Gv5Lgufsj5kCtOC+zTgeWTwwYm8j2Ct8cTK1RJ5+XDg=";
};
env = {
SKIP_REMOTE_SOURCES = "true";
};
build-system = [
scikit-build-core
setuptools
setuptools-scm
];
nativeBuildInputs = [
cmake
ninja
];
dontUseCmakeConfigure = true;
dependencies = [
numpy
];
buildInputs = [
boost
eigen
gtest
pybind11
units-llnl.passthru.top-level
onetbb
];
nativeCheckInputs = [
pytestCheckHook
scipy
beautifulsoup4
ipython
matplotlib
pandas
numba
xarray
h5py
hypothesis
];
pytestFlags = [
# See https://github.com/scipp/scipp/issues/3721
"--hypothesis-profile=ci"
];
pythonImportsCheck = [
"scipp"
];
meta = {
description = "Multi-dimensional data arrays with labeled dimensions";
homepage = "https://scipp.github.io";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ doronbehar ];
# Got:
#
# error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
#
# Needs debugging along with upstream.
broken = stdenv.hostPlatform.isDarwin;
};
}
|