git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.textacy: fix build
commitc259cbe19fe943efbf948ce8d433b22efb325e7c authorworldofpeace <worldofpeace@users.noreply.github.com> dateMon 28 Jan 2019, 15:20 (8 years ago) parente7c0604
1 file changed+5
pkgs/development/python-modules/textacy/default.nix+5
pkgs/development/python-modules/textacy/default.nix+5
@@ -52,6 +52,11 @@ buildPythonPackage rec {
5252 unidecode
5353 ];
5454
55+ postPatch = ''
56+ substituteInPlace setup.py \
57+ --replace "'ftfy>=4.2.0,<5.0.0'," "'ftfy>=5.0.0',"
58+ '';
59+
5560 doCheck = false; # tests want to download data files
5661
5762 meta = with stdenv.lib; {