2022-08-25 13:10:44 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
, python-slugify
|
|
|
|
, requests
|
|
|
|
, urllib3
|
|
|
|
, six
|
|
|
|
, setuptools
|
|
|
|
, GitPython
|
|
|
|
, pythonRelaxDepsHook
|
|
|
|
}:
|
2019-01-17 09:38:07 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "transifex-client";
|
2021-12-25 21:05:54 +01:00
|
|
|
version = "0.14.4";
|
2019-01-17 09:38:07 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-25 21:05:54 +01:00
|
|
|
sha256 = "11dc95cefe90ebf0cef3749c8c7d85b9d389c05bd0e3389bf117685df562bd5c";
|
2019-01-17 09:38:07 +01:00
|
|
|
};
|
|
|
|
|
2021-07-30 07:07:00 +02:00
|
|
|
# https://github.com/transifex/transifex-client/issues/323
|
2022-08-25 13:10:44 +02:00
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
|
|
pythonRelaxDeps = [ "python-slugify" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
GitPython
|
|
|
|
python-slugify
|
|
|
|
requests
|
|
|
|
setuptools
|
|
|
|
six
|
|
|
|
urllib3
|
|
|
|
];
|
2019-01-17 09:38:07 +01:00
|
|
|
|
|
|
|
# Requires external resources
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-10-01 14:30:52 +02:00
|
|
|
homepage = "https://www.transifex.com/";
|
2021-07-30 07:07:00 +02:00
|
|
|
license = licenses.gpl2Only;
|
2019-01-17 09:38:07 +01:00
|
|
|
description = "Transifex translation service client";
|
2021-07-30 07:07:00 +02:00
|
|
|
maintainers = with maintainers; [ sikmir ];
|
2019-01-17 09:38:07 +01:00
|
|
|
};
|
|
|
|
}
|