2022-09-09 14:08:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
, python-slugify
|
|
|
|
, requests
|
|
|
|
, urllib3
|
|
|
|
, six
|
|
|
|
, setuptools
|
|
|
|
, GitPython
|
|
|
|
, pythonRelaxDepsHook
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "transifex-client";
|
2021-12-30 13:39:12 +00:00
|
|
|
version = "0.14.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-30 13:39:12 +00:00
|
|
|
sha256 = "11dc95cefe90ebf0cef3749c8c7d85b9d389c05bd0e3389bf117685df562bd5c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
# https://github.com/transifex/transifex-client/issues/323
|
2022-09-09 14:08:57 +00:00
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
|
|
pythonRelaxDeps = [ "python-slugify" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
GitPython
|
|
|
|
python-slugify
|
|
|
|
requests
|
|
|
|
setuptools
|
|
|
|
six
|
|
|
|
urllib3
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Requires external resources
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.transifex.com/";
|
2021-08-05 21:33:18 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Transifex translation service client";
|
2021-08-05 21:33:18 +00:00
|
|
|
maintainers = with maintainers; [ sikmir ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|