lol

python312Packages.bsuite: add patch to replace imp

google-deepmind/bsuite#50

+8 -1
+8 -1
pkgs/development/python-modules/bsuite/default.nix
··· 37 37 }; 38 38 39 39 patches = [ 40 - (fetchpatch { # Convert np.int -> np.int32 since np.int is deprecated (https://github.com/google-deepmind/bsuite/pull/48) 40 + # Convert np.int -> np.int32 since np.int is deprecated, https://github.com/google-deepmind/bsuite/pull/48 41 + (fetchpatch { 41 42 url = "https://github.com/google-deepmind/bsuite/pull/48/commits/f8d81b2f1c27ef2c8c71ae286001ed879ea306ab.patch"; 42 43 hash = "sha256-FXtvVS+U8brulq8Z27+yWIimB+kigGiUOIv1SHb1TA8="; 44 + }) 45 + # Replace imp with importlib, https://github.com/google-deepmind/bsuite/pull/50 46 + (fetchpatch { 47 + name = "replace-imp.patch"; 48 + url = "https://github.com/google-deepmind/bsuite/commit/d08b63655c7efa5b5bb0f35e825e17549d23e812.patch"; 49 + hash = "sha256-V5p/6edNXTpEckuSuxJ/mvfJng5yE/pfeMoYbvlNpEo="; 43 50 }) 44 51 ]; 45 52