From 989cc259be2f8fc760887a00a83810a812d0847e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= <me@danieldk.eu>
Date: Wed, 21 Dec 2022 08:20:17 +0100
Subject: [PATCH] python3Packages.blis: 0.9.1 -> 0.7.9

The blis 0.9.x packages cause segmentation faults:

https://github.com/explosion/thinc/issues/771#issuecomment-1255825935

For this reason, Thinc/spaCy (the only users of this package in
nixpkgs) have reverted to 0.7.x until this issue is resolved.
---
 pkgs/development/python-modules/blis/default.nix | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pkgs/development/python-modules/blis/default.nix b/pkgs/development/python-modules/blis/default.nix
index 68351bd829434..e0f9709e00878 100644
--- a/pkgs/development/python-modules/blis/default.nix
+++ b/pkgs/development/python-modules/blis/default.nix
@@ -10,14 +10,16 @@
 
 buildPythonPackage rec {
   pname = "blis";
-  version = "0.9.1";
+  # Do not update to BLIS 0.9.x until the following issue is resolved:
+  # https://github.com/explosion/thinc/issues/771#issuecomment-1255825935
+  version = "0.7.9";
   format = "setuptools";
 
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-fOrEZoAfnZfss04Q3e2MJM9eCSfqfoNNocydLtP8Nm8=";
+    hash = "sha256-Ke9MJQB3hakP/C8Ks9O9O3XNLXhWqaSCt9DayNURoJ0=";
   };
 
   postPatch = ''