tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python313Packages.flammkuchen: fix build with NumPy v2
Robert Schütz
1 year ago
652fe825
28dac497
+12
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
flammkuchen
default.nix
+12
-3
pkgs/development/python-modules/flammkuchen/default.nix
reviewed
···
1
1
{
2
2
lib,
3
3
buildPythonPackage,
4
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
17
-
format = "pyproject";
16
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
24
-
nativeBuildInputs = [ setuptools ];
23
23
+
patches = [
24
24
+
(fetchpatch2 {
25
25
+
name = "numpy-v2-compat.patch";
26
26
+
url = "https://github.com/portugueslab/flammkuchen/commit/c523ea78e10facd98d4893f045249c68bae17940.patch?full_index=1";
27
27
+
hash = "sha256-/goNkiEBrcprywQYf2oKvGbu5j12hmalPuB45wNNt+I=";
28
28
+
})
29
29
+
];
25
30
26
26
-
propagatedBuildInputs = [
31
31
+
build-system = [ setuptools ];
32
32
+
33
33
+
dependencies = [
27
34
numpy
28
35
scipy
29
36
tables