Skip to content

Commit af75ee5

Browse files
authored
python313Packages.pyrender: unbreak (NixOS#371986)
2 parents c4407ed + 171bb77 commit af75ee5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/development/python-modules/pyrender/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ buildPythonPackage rec {
3939
url = "https://github.com/mmatl/pyrender/commit/7c613e8aed7142df9ff40767a8f10b7a19b6255c.patch";
4040
hash = "sha256-SXRV9RC3PfQGjjIQ+n97HZrSDPae3rAHnTBiHXSFLaY=";
4141
})
42+
# fix on numpy 2.0 (np.infty -> np.inf)
43+
# https://github.com/mmatl/pyrender/pull/292
44+
(fetchpatch {
45+
name = "fix-numpy2.patch";
46+
url = "https://github.com/mmatl/pyrender/commit/5408c7b45261473511d2399ab625efe11f0b6991.patch";
47+
hash = "sha256-RIv6lMpxMmops5Tb1itzYdT7GkhPScVWslBXITR3IBM=";
48+
})
4249
];
4350

4451
# trimesh too new

0 commit comments

Comments
 (0)