summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-09-15 14:07:14 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-09-27 15:34:33 +0200
commit0a0cf7601f775ffd0d7c0a0e9a1af7775a83a382 (patch)
tree38e082708515f41a05371a31f4fbf2956eba2017
parent80b228847bc7a024c782f6a97cc0c1ce8b6a03d7 (diff)
downloadnixpkgs-0a0cf7601f775ffd0d7c0a0e9a1af7775a83a382.tar
nixpkgs-0a0cf7601f775ffd0d7c0a0e9a1af7775a83a382.tar.gz
nixpkgs-0a0cf7601f775ffd0d7c0a0e9a1af7775a83a382.tar.bz2
nixpkgs-0a0cf7601f775ffd0d7c0a0e9a1af7775a83a382.tar.lz
nixpkgs-0a0cf7601f775ffd0d7c0a0e9a1af7775a83a382.tar.xz
nixpkgs-0a0cf7601f775ffd0d7c0a0e9a1af7775a83a382.tar.zst
nixpkgs-0a0cf7601f775ffd0d7c0a0e9a1af7775a83a382.zip
python3Packages.thinc: 8.1.10 -> 8.2.0
-rw-r--r--pkgs/development/python-modules/thinc/default.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/thinc/default.nix b/pkgs/development/python-modules/thinc/default.nix
index a712f0078b9..18f8623f453 100644
--- a/pkgs/development/python-modules/thinc/default.nix
+++ b/pkgs/development/python-modules/thinc/default.nix
@@ -21,6 +21,7 @@
 , pytestCheckHook
 , python
 , pythonOlder
+, setuptools
 , srsly
 , tqdm
 , typing-extensions
@@ -29,16 +30,25 @@
 
 buildPythonPackage rec {
   pname = "thinc";
-  version = "8.1.10";
+  version = "8.2.0";
   format = "setuptools";
 
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-bEpI19oH4EToSmjLubIvMvhJCZWiurC/xg5BLRSvuZE=";
+    hash = "sha256-gsoeeDHjVNdMZ3bth9vXP0qtWe0ljIdGy+hoaIGG/Ek=";
   };
 
+  postPatch = ''
+    substituteInPlace setup.cfg \
+      --replace "preshed>=3.0.2,<3.1.0" "preshed"
+  '';
+
+  nativeBuildInputs = [
+    setuptools
+  ];
+
   buildInputs = [
     cython
   ] ++ lib.optionals stdenv.isDarwin [