Unverified Commit e3e90b8e authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

python313Packages.flammkuchen: fix build with NumPy v2 (#380781)

parents 21d4bbf6 b39a906d
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchpatch2,
  fetchPypi,
  numpy,
  pandas,
@@ -13,16 +14,24 @@
buildPythonPackage rec {
  pname = "flammkuchen";
  version = "1.0.3";
  format = "pyproject";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-z68HBsU9J6oe8+YL4OOQiMYQRs3TZUDM+e2ssqo6BFI=";
  };

  nativeBuildInputs = [ setuptools ];
  patches = [
    (fetchpatch2 {
      name = "numpy-v2-compat.patch";
      url = "https://github.com/portugueslab/flammkuchen/commit/c523ea78e10facd98d4893f045249c68bae17940.patch?full_index=1";
      hash = "sha256-/goNkiEBrcprywQYf2oKvGbu5j12hmalPuB45wNNt+I=";
    })
  ];

  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    numpy
    scipy
    tables
+4 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
  qimage2ndarray,
  scikit-image,
  scipy,
  setuptools,
  tables,
}:

@@ -46,7 +47,9 @@ buildPythonPackage rec {
    ./0000-workaround-pyqtgraph.patch
  ];

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    opencv4
    pyqt5
    pyqtgraph