python313Packages.flammkuchen: fix build with NumPy v2 (#380781)
This commit is contained in:
commit
e3e90b8e62
@ -1,6 +1,7 @@
|
||||
{
|
||||
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=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
scipy
|
||||
tables
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user