summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien@users.noreply.github.com>2021-07-31 12:32:08 +0000
committerGitHub <noreply@github.com>2021-07-31 12:32:08 +0000
commit6b16843c1d35123b3f469302efb477d853e252b5 (patch)
tree29b6961d73c5eba1207906918287fe605fa8c5e7
parent0ae0c8b9903fdaa94a6d165b6a4777537ed513df (diff)
parent00da1ca5a5ab3f4f8c88c9b99312cc77a9bca991 (diff)
downloadnixpkgs-6b16843c1d35123b3f469302efb477d853e252b5.tar
nixpkgs-6b16843c1d35123b3f469302efb477d853e252b5.tar.gz
nixpkgs-6b16843c1d35123b3f469302efb477d853e252b5.tar.bz2
nixpkgs-6b16843c1d35123b3f469302efb477d853e252b5.tar.lz
nixpkgs-6b16843c1d35123b3f469302efb477d853e252b5.tar.xz
nixpkgs-6b16843c1d35123b3f469302efb477d853e252b5.tar.zst
nixpkgs-6b16843c1d35123b3f469302efb477d853e252b5.zip
Merge pull request #132021 from sikmir/transifex-client
transifex-client: 0.13.9 → 0.14.3, fix build
-rw-r--r--pkgs/tools/text/transifex-client/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/tools/text/transifex-client/default.nix b/pkgs/tools/text/transifex-client/default.nix
index 93c2e645309..f1b2928c794 100644
--- a/pkgs/tools/text/transifex-client/default.nix
+++ b/pkgs/tools/text/transifex-client/default.nix
@@ -1,23 +1,23 @@
 { lib, buildPythonApplication, fetchPypi
-, python-slugify, requests, urllib3, six, setuptools }:
+, python-slugify, requests, urllib3, six, setuptools, GitPython }:
 
 buildPythonApplication rec {
   pname = "transifex-client";
-  version = "0.13.9";
+  version = "0.14.3";
 
   propagatedBuildInputs = [
-    urllib3 requests python-slugify six setuptools
+    urllib3 requests python-slugify six setuptools GitPython
   ];
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "0lgd77vrddvyn8afkxr7a7hblmp4k5sr0i9i1032xdih2bipdd9f";
+    sha256 = "sha256-sKol67lRaYPFa7Bg9KNa1rDrNoT9DtUd48NY8jqK1iw=";
   };
 
+  # https://github.com/transifex/transifex-client/issues/323
   prePatch = ''
-    substituteInPlace requirements.txt --replace "urllib3<1.24" "urllib3>=1.24" \
-      --replace "six==1.11.0" "six>=1.11.0" \
-      --replace "python-slugify<2.0.0" "python-slugify>2.0.0"
+    substituteInPlace requirements.txt \
+      --replace "python-slugify<5.0.0" "python-slugify"
   '';
 
   # Requires external resources
@@ -25,8 +25,8 @@ buildPythonApplication rec {
 
   meta = with lib; {
     homepage = "https://www.transifex.com/";
-    license = licenses.gpl2;
+    license = licenses.gpl2Only;
     description = "Transifex translation service client";
-    maintainers = with maintainers; [ ];
+    maintainers = with maintainers; [ sikmir ];
   };
 }