1{ 2 lib, 3 buildPythonPackage, 4 fetchpatch2, 5 fetchPypi, 6 numpy, 7 pandas, 8 pytestCheckHook, 9 scipy, 10 setuptools, 11 tables, 12}: 13 14buildPythonPackage rec { 15 pname = "flammkuchen"; 16 version = "1.0.3"; 17 pyproject = true; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-z68HBsU9J6oe8+YL4OOQiMYQRs3TZUDM+e2ssqo6BFI="; 22 }; 23 24 patches = [ 25 (fetchpatch2 { 26 name = "numpy-v2-compat.patch"; 27 url = "https://github.com/portugueslab/flammkuchen/commit/c523ea78e10facd98d4893f045249c68bae17940.patch?full_index=1"; 28 hash = "sha256-/goNkiEBrcprywQYf2oKvGbu5j12hmalPuB45wNNt+I="; 29 }) 30 ]; 31 32 build-system = [ setuptools ]; 33 34 dependencies = [ 35 numpy 36 scipy 37 tables 38 ]; 39 40 nativeCheckInputs = [ 41 pandas 42 pytestCheckHook 43 ]; 44 45 meta = { 46 homepage = "https://github.com/portugueslab/flammkuchen"; 47 description = "Flexible HDF5 saving/loading library forked from deepdish (University of Chicago) and maintained by the Portugues lab"; 48 license = lib.licenses.bsd3; 49 maintainers = with lib.maintainers; [ tbenst ]; 50 }; 51}