From c259cbe19fe943efbf948ce8d433b22efb325e7c Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Mon, 28 Jan 2019 15:20:41 -0500 Subject: [PATCH] pythonPackages.textacy: fix build --- pkgs/development/python-modules/textacy/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/textacy/default.nix b/pkgs/development/python-modules/textacy/default.nix index fdfa91d292f..4272df1ce39 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; {