b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
44 lines
884 B
Nix
44 lines
884 B
Nix
{ 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; {
|
|
homepage = "https://www.transifex.com/";
|
|
license = licenses.gpl2Only;
|
|
description = "Transifex translation service client";
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
}
|