about summary refs log tree commit diff
path: root/pkgs/development/python-modules/textacy
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-01-28 15:20:41 -0500
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-01-28 20:33:46 +0000
commitc259cbe19fe943efbf948ce8d433b22efb325e7c (patch)
tree1af729ad72570c75e9ff2ec4c42a6268b7df34c8 /pkgs/development/python-modules/textacy
parente7c0604fb15e5dcda4ec1a53d985e69f9d568652 (diff)
pythonPackages.textacy: fix build
Diffstat (limited to 'pkgs/development/python-modules/textacy')
-rw-r--r--pkgs/development/python-modules/textacy/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/textacy/default.nix b/pkgs/development/python-modules/textacy/default.nix
index fdfa91d292f22..4272df1ce398b 100644
--- a/pkgs/development/python-modules/textacy/default.nix
+++ b/pkgs/development/python-modules/textacy/default.nix
@@ -52,6 +52,11 @@ buildPythonPackage rec {
     unidecode
   ];
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "'ftfy>=4.2.0,<5.0.0'," "'ftfy>=5.0.0',"
+  '';
+
   doCheck = false;  # tests want to download data files
 
   meta = with stdenv.lib; {