From 13c701e47649b89caf2d7f54911f6fcd242c8b55 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Mon, 4 Mar 2019 13:15:01 +0100 Subject: transifex-client: Fix build after updated dependencies --- pkgs/tools/text/transifex-client/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pkgs') 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 -- cgit 1.4.1