summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2019-11-01 07:54:31 +0100
committerElis Hirwing <elis@hirwing.se>2019-11-01 07:54:31 +0100
commitee16c546a41f4970f542900e0ac256ec1f9ac8f6 (patch)
treed616de7874fca074a7f58ff440342e0e5e48234e /pkgs/tools/text
parent53a7ae01852779bd297b7e5e42860f158375404d (diff)
downloadnixpkgs-ee16c546a41f4970f542900e0ac256ec1f9ac8f6.tar
nixpkgs-ee16c546a41f4970f542900e0ac256ec1f9ac8f6.tar.gz
nixpkgs-ee16c546a41f4970f542900e0ac256ec1f9ac8f6.tar.bz2
nixpkgs-ee16c546a41f4970f542900e0ac256ec1f9ac8f6.tar.lz
nixpkgs-ee16c546a41f4970f542900e0ac256ec1f9ac8f6.tar.xz
nixpkgs-ee16c546a41f4970f542900e0ac256ec1f9ac8f6.tar.zst
nixpkgs-ee16c546a41f4970f542900e0ac256ec1f9ac8f6.zip
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.
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/transifex-client/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/text/transifex-client/default.nix b/pkgs/tools/text/transifex-client/default.nix
index 12e68689934..403adaf71b6 100644
--- a/pkgs/tools/text/transifex-client/default.nix
+++ b/pkgs/tools/text/transifex-client/default.nix
@@ -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