about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorOTABI Tomoya <tomoya.otabi@gmail.com>2023-10-28 12:48:40 +0900
committerGitHub <noreply@github.com>2023-10-28 12:48:40 +0900
commitba10b0177880f775b05c6d24e9831ccac0dc288e (patch)
tree8271127979a8c6419865b9f1f6e8f5978f31514b /pkgs
parent5bc07bf7a7de3f518fd5cebef5f2aef547aed50f (diff)
parent935f8ab9ce241a0a018722633d04f297a8f35bfc (diff)
Merge pull request #263567 from michaeladler/fixes/offlineimap
offlineimap: backport fix for sqlite multi-threading issue in Python 3.11
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/offlineimap/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/networking/offlineimap/default.nix b/pkgs/tools/networking/offlineimap/default.nix
index d3607a63210bd..33fe31b91d6e6 100644
--- a/pkgs/tools/networking/offlineimap/default.nix
+++ b/pkgs/tools/networking/offlineimap/default.nix
@@ -9,6 +9,7 @@
 , libxslt
 , testers
 , offlineimap
+, fetchpatch
 }:
 
 python3.pkgs.buildPythonApplication rec {
@@ -22,6 +23,14 @@ python3.pkgs.buildPythonApplication rec {
     sha256 = "0y3giaz9i8vvczlxkbwymfkn3vi9fv599dy4pc2pn2afxsl4mg2w";
   };
 
+  patches = [
+    (fetchpatch {
+      name = "sqlite-version-aware-threadsafety-check.patch";
+      url = "https://github.com/OfflineIMAP/offlineimap3/pull/139/commits/7cd32cf834b34a3d4675b29bebcd32dc1e5ef128.patch";
+      hash = "sha256-xNq4jFHMf9XZaa9BFF1lOzZrEGa5BEU8Dr+gMOBkJE4=";
+    })
+  ];
+
   nativeBuildInputs = [
     asciidoc
     docbook_xsl