python313Packages.flammkuchen: fix build with NumPy v2 (#380781)
This commit is contained in:
commit
e3e90b8e62
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
|
fetchpatch2,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
numpy,
|
numpy,
|
||||||
pandas,
|
pandas,
|
||||||
@ -13,16 +14,24 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flammkuchen";
|
pname = "flammkuchen";
|
||||||
version = "1.0.3";
|
version = "1.0.3";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-z68HBsU9J6oe8+YL4OOQiMYQRs3TZUDM+e2ssqo6BFI=";
|
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
|
numpy
|
||||||
scipy
|
scipy
|
||||||
tables
|
tables
|
||||||
|
|||||||
@ -27,6 +27,7 @@
|
|||||||
qimage2ndarray,
|
qimage2ndarray,
|
||||||
scikit-image,
|
scikit-image,
|
||||||
scipy,
|
scipy,
|
||||||
|
setuptools,
|
||||||
tables,
|
tables,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -46,7 +47,9 @@ buildPythonPackage rec {
|
|||||||
./0000-workaround-pyqtgraph.patch
|
./0000-workaround-pyqtgraph.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
opencv4
|
opencv4
|
||||||
pyqt5
|
pyqt5
|
||||||
pyqtgraph
|
pyqtgraph
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user