transifex-client: Fix build

We have updated python-slugify to 4.0.0 (or newer) which broke the
build. This has happened several times before without actually
breaking the software.

So yeah, lets just accept newer versions and fix it if it breaks for
some other reason in the future.
This commit is contained in:
Elis Hirwing 2019-11-01 07:54:31 +01:00
parent 53a7ae0185
commit ee16c546a4
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F

View File

@ -15,9 +15,9 @@ buildPythonApplication rec {
};
prePatch = ''
substituteInPlace requirements.txt --replace "urllib3<1.24" "urllib3<2.0" \
--replace "six==1.11.0" "six<2.0.0" \
--replace "python-slugify==1.2.6" "python-slugify<4.0.0"
substituteInPlace requirements.txt --replace "urllib3<1.24" "urllib3>=1.24" \
--replace "six==1.11.0" "six>=1.11.0" \
--replace "python-slugify==1.2.6" "python-slugify>=1.2.6"
'';
# Requires external resources