about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2019-03-04 13:15:01 +0100
committerElis Hirwing <elis@hirwing.se>2019-03-04 13:15:01 +0100
commit13c701e47649b89caf2d7f54911f6fcd242c8b55 (patch)
tree56447884698218e7324a6e780fc7f387c2282e8a /pkgs
parent4545ae5ee2d5e72de711caed6c37607831224f19 (diff)
downloadnixlib-13c701e47649b89caf2d7f54911f6fcd242c8b55.tar
nixlib-13c701e47649b89caf2d7f54911f6fcd242c8b55.tar.gz
nixlib-13c701e47649b89caf2d7f54911f6fcd242c8b55.tar.bz2
nixlib-13c701e47649b89caf2d7f54911f6fcd242c8b55.tar.lz
nixlib-13c701e47649b89caf2d7f54911f6fcd242c8b55.tar.xz
nixlib-13c701e47649b89caf2d7f54911f6fcd242c8b55.tar.zst
nixlib-13c701e47649b89caf2d7f54911f6fcd242c8b55.zip
transifex-client: Fix build after updated dependencies
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/text/transifex-client/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/text/transifex-client/default.nix b/pkgs/tools/text/transifex-client/default.nix
index 376f8ca9f70a..c765a801348a 100644
--- a/pkgs/tools/text/transifex-client/default.nix
+++ b/pkgs/tools/text/transifex-client/default.nix
@@ -1,12 +1,12 @@
 { stdenv, buildPythonApplication, fetchPypi
-, python-slugify, requests, urllib3 }:
+, python-slugify, requests, urllib3, six }:
 
 buildPythonApplication rec {
   pname = "transifex-client";
   version = "0.13.6";
 
   propagatedBuildInputs = [
-    urllib3 requests python-slugify
+    urllib3 requests python-slugify six
   ];
 
   src = fetchPypi {
@@ -15,7 +15,9 @@ buildPythonApplication rec {
   };
 
   prePatch = ''
-    substituteInPlace requirements.txt --replace "urllib3<1.24" "urllib3<2.0"
+    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<3.0.0"
   '';
 
   # Requires external resources