blob: 119defd7ea174b4ae122d1d4825f61c4dc89d497 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
# dependencies
numpy,
scipy,
tables,
}:
buildPythonPackage rec {
pname = "deepdish";
version = "0.3.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-av86vvaTzsNEOPGD8p0aLZhiq6J7uVnU8k1W4AfkH/M=";
};
postPatch = ''
substituteInPlace deepdish/core.py \
--replace-fail "np.ComplexWarning" "np.exceptions.ComplexWarning"
'';
build-system = [
setuptools
];
dependencies = [
numpy
scipy
tables
];
pythonImportsCheck = [ "deepdish" ];
# nativeCheckInputs = [
# pandas
# ];
# The tests are broken: `ModuleNotFoundError: No module named 'deepdish.six.conf'`
doCheck = false;
meta = {
description = "Flexible HDF5 saving/loading and other data science tools from the University of Chicago";
mainProgram = "ddls";
homepage = "https://github.com/uchicago-cs/deepdish";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ndl ];
};
}
|