Unverified Commit 09f9f1fe authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #277409 from sikmir/transifex-client

parents aa5d1d03 0751c7f1
Loading
Loading
Loading
Loading
+0 −49
Original line number Diff line number Diff line
{ lib
, buildPythonApplication
, fetchPypi
, python-slugify
, requests
, urllib3
, six
, setuptools
, gitpython
, pythonRelaxDepsHook
}:

buildPythonApplication rec {
  pname = "transifex-client";
  version = "0.14.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "11dc95cefe90ebf0cef3749c8c7d85b9d389c05bd0e3389bf117685df562bd5c";
  };

  # https://github.com/transifex/transifex-client/issues/323
  nativeBuildInputs = [
    pythonRelaxDepsHook
  ];

  pythonRelaxDeps = [
    "python-slugify"
  ];

  propagatedBuildInputs = [
    gitpython
    python-slugify
    requests
    setuptools
    six
    urllib3
  ];

  # Requires external resources
  doCheck = false;

  meta = with lib; {
    description = "Transifex translation service client";
    homepage = "https://www.transifex.com/";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ sikmir ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1026,6 +1026,7 @@ mapAliases ({
  tokodon = plasma5Packages.tokodon;
  tor-browser-bundle-bin = tor-browser; # Added 2023-09-23
  transfig = fig2dev; # Added 2022-02-15
  transifex-client = transifex-cli; # Added 2023-12-29
  trezor_agent = trezor-agent; # Added 2024-01-07
  trustedGrub = throw "trustedGrub has been removed, because it is not maintained upstream anymore"; # Added 2023-05-10
  trustedGrub-for-HP = throw "trustedGrub-for-HP has been removed, because it is not maintained upstream anymore"; # Added 2023-05-10
+0 −2
Original line number Diff line number Diff line
@@ -14073,8 +14073,6 @@ with pkgs;
  tracefilesim = callPackage ../development/tools/analysis/garcosim/tracefilesim { };
  transifex-client = python39.pkgs.callPackage ../tools/text/transifex-client { };
  transifex-cli = callPackage ../applications/misc/transifex-cli { };
  translatelocally = callPackage ../applications/misc/translatelocally { };