nixpkgs/pkgs/tools/text/transifex-client/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
884 B
Nix
Raw Normal View History

2022-08-25 13:10:44 +02:00
{ lib
, buildPythonApplication
, fetchPypi
, python-slugify
, requests
, urllib3
, six
, setuptools
, GitPython
, pythonRelaxDepsHook
}:
buildPythonApplication rec {
pname = "transifex-client";
2021-12-25 21:05:54 +01:00
version = "0.14.4";
src = fetchPypi {
inherit pname version;
2021-12-25 21:05:54 +01:00
sha256 = "11dc95cefe90ebf0cef3749c8c7d85b9d389c05bd0e3389bf117685df562bd5c";
};
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
];
# Requires external resources
doCheck = false;
meta = with lib; {
homepage = "https://www.transifex.com/";
2021-07-30 07:07:00 +02:00
license = licenses.gpl2Only;
description = "Transifex translation service client";
2021-07-30 07:07:00 +02:00
maintainers = with maintainers; [ sikmir ];
};
}