Loading pkgs/development/python-modules/bsuite/default.nix +8 −1 Original line number Diff line number Diff line Loading @@ -37,10 +37,17 @@ let bsuite = buildPythonPackage rec { }; patches = [ (fetchpatch { # Convert np.int -> np.int32 since np.int is deprecated (https://github.com/google-deepmind/bsuite/pull/48) # Convert np.int -> np.int32 since np.int is deprecated, https://github.com/google-deepmind/bsuite/pull/48 (fetchpatch { url = "https://github.com/google-deepmind/bsuite/pull/48/commits/f8d81b2f1c27ef2c8c71ae286001ed879ea306ab.patch"; hash = "sha256-FXtvVS+U8brulq8Z27+yWIimB+kigGiUOIv1SHb1TA8="; }) # Replace imp with importlib, https://github.com/google-deepmind/bsuite/pull/50 (fetchpatch { name = "replace-imp.patch"; url = "https://github.com/google-deepmind/bsuite/commit/d08b63655c7efa5b5bb0f35e825e17549d23e812.patch"; hash = "sha256-V5p/6edNXTpEckuSuxJ/mvfJng5yE/pfeMoYbvlNpEo="; }) ]; propagatedBuildInputs = [ Loading Loading
pkgs/development/python-modules/bsuite/default.nix +8 −1 Original line number Diff line number Diff line Loading @@ -37,10 +37,17 @@ let bsuite = buildPythonPackage rec { }; patches = [ (fetchpatch { # Convert np.int -> np.int32 since np.int is deprecated (https://github.com/google-deepmind/bsuite/pull/48) # Convert np.int -> np.int32 since np.int is deprecated, https://github.com/google-deepmind/bsuite/pull/48 (fetchpatch { url = "https://github.com/google-deepmind/bsuite/pull/48/commits/f8d81b2f1c27ef2c8c71ae286001ed879ea306ab.patch"; hash = "sha256-FXtvVS+U8brulq8Z27+yWIimB+kigGiUOIv1SHb1TA8="; }) # Replace imp with importlib, https://github.com/google-deepmind/bsuite/pull/50 (fetchpatch { name = "replace-imp.patch"; url = "https://github.com/google-deepmind/bsuite/commit/d08b63655c7efa5b5bb0f35e825e17549d23e812.patch"; hash = "sha256-V5p/6edNXTpEckuSuxJ/mvfJng5yE/pfeMoYbvlNpEo="; }) ]; propagatedBuildInputs = [ Loading