1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 setuptools, 8 9 # dependencies 10 numpy, 11 scipy, 12 tables, 13}: 14 15buildPythonPackage rec { 16 pname = "deepdish"; 17 version = "0.3.7"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-av86vvaTzsNEOPGD8p0aLZhiq6J7uVnU8k1W4AfkH/M="; 23 }; 24 25 postPatch = '' 26 substituteInPlace deepdish/core.py \ 27 --replace-fail "np.ComplexWarning" "np.exceptions.ComplexWarning" 28 ''; 29 30 build-system = [ 31 setuptools 32 ]; 33 34 dependencies = [ 35 numpy 36 scipy 37 tables 38 ]; 39 40 pythonImportsCheck = [ "deepdish" ]; 41 42 # nativeCheckInputs = [ 43 # pandas 44 # ]; 45 46 # The tests are broken: `ModuleNotFoundError: No module named 'deepdish.six.conf'` 47 doCheck = false; 48 49 meta = { 50 description = "Flexible HDF5 saving/loading and other data science tools from the University of Chicago"; 51 mainProgram = "ddls"; 52 homepage = "https://github.com/uchicago-cs/deepdish"; 53 license = lib.licenses.asl20; 54 maintainers = with lib.maintainers; [ ndl ]; 55 }; 56}