diff options
author | Elis Hirwing <elis@hirwing.se> | 2019-01-17 09:38:07 +0100 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2019-01-21 07:47:55 +0100 |
commit | 96a8320aaaec6eeb0d3d2888112f2bea1d2f1f9d (patch) | |
tree | 720813202dce6e6b5e103f5e5c09debecf0a2f65 /pkgs/tools/text/transifex-client | |
parent | 5bc3778ae736e21064ccd3140ff43458459300b4 (diff) |
transifex-client: init at 0.13.5
Utility used to manage translations.
Diffstat (limited to 'pkgs/tools/text/transifex-client')
-rw-r--r-- | pkgs/tools/text/transifex-client/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/text/transifex-client/default.nix b/pkgs/tools/text/transifex-client/default.nix new file mode 100644 index 0000000000000..62fdc0c7c84b3 --- /dev/null +++ b/pkgs/tools/text/transifex-client/default.nix @@ -0,0 +1,30 @@ +{ stdenv, buildPythonApplication, fetchPypi +, python-slugify, requests, urllib3 }: + +buildPythonApplication rec { + pname = "transifex-client"; + version = "0.13.5"; + + propagatedBuildInputs = [ + urllib3 requests python-slugify + ]; + + src = fetchPypi { + inherit pname version; + sha256 = "00igk35nyzqp1slj7lbhiv4lc42k87ix43ipx2zcrsjf6xxv6l7v"; + }; + + prePatch = '' + substituteInPlace requirements.txt --replace "urllib3<1.24" "urllib3<2.0" + ''; + + # Requires external resources + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://www.transifex.com/; + license = licenses.gpl2; + description = "Transifex translation service client"; + maintainers = [ maintainers.etu ]; + }; +} |