3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #54162 from etu/init-transifex-client

transifex-client: init at 0.13.5
This commit is contained in:
adisbladis 2019-01-21 07:45:49 +00:00 committed by GitHub
commit 3514bf8654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -5887,6 +5887,8 @@ in
tracefilesim = callPackage ../development/tools/analysis/garcosim/tracefilesim { };
transifex-client = python3.pkgs.callPackage ../tools/text/transifex-client { };
translate-shell = callPackage ../applications/misc/translate-shell { };
transporter = callPackage ../applications/networking/transporter { };