nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python313Packages.flammkuchen: fix build with NumPy v2

+12 -3
+12 -3
pkgs/development/python-modules/flammkuchen/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 + fetchpatch2, 4 5 fetchPypi, 5 6 numpy, 6 7 pandas, ··· 14 13 buildPythonPackage rec { 15 14 pname = "flammkuchen"; 16 15 version = "1.0.3"; 17 - format = "pyproject"; 16 + pyproject = true; 18 17 19 18 src = fetchPypi { 20 19 inherit pname version; 21 20 hash = "sha256-z68HBsU9J6oe8+YL4OOQiMYQRs3TZUDM+e2ssqo6BFI="; 22 21 }; 23 22 24 - nativeBuildInputs = [ setuptools ]; 23 + patches = [ 24 + (fetchpatch2 { 25 + name = "numpy-v2-compat.patch"; 26 + url = "https://github.com/portugueslab/flammkuchen/commit/c523ea78e10facd98d4893f045249c68bae17940.patch?full_index=1"; 27 + hash = "sha256-/goNkiEBrcprywQYf2oKvGbu5j12hmalPuB45wNNt+I="; 28 + }) 29 + ]; 25 30 26 - propagatedBuildInputs = [ 31 + build-system = [ setuptools ]; 32 + 33 + dependencies = [ 27 34 numpy 28 35 scipy 29 36 tables