about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sopel/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sopel/default.nix')
-rw-r--r--pkgs/development/python-modules/sopel/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sopel/default.nix b/pkgs/development/python-modules/sopel/default.nix
index bd7efca27e6f3..93b942811c389 100644
--- a/pkgs/development/python-modules/sopel/default.nix
+++ b/pkgs/development/python-modules/sopel/default.nix
@@ -27,6 +27,13 @@ buildPythonPackage rec {
     hash = "sha256-IJ+ovLQv6/UU1oepmUQjzaWBG3Rdd3xvui7FjK85Urs=";
   };
 
+  patches = [
+    # https://github.com/sopel-irc/sopel/issues/2401
+    # https://github.com/sopel-irc/sopel/commit/596adc44330939519784389cbb927435305ef758.patch
+    # rewrite the patch because there are too many patches needed to apply the above patch.
+    ./python311-support.patch
+  ];
+
   propagatedBuildInputs = [
     dnspython
     geoip2