mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
transifex-client: init at 0.13.5
Utility used to manage translations.
This commit is contained in:
parent
5bc3778ae7
commit
96a8320aaa
30
pkgs/tools/text/transifex-client/default.nix
Normal file
30
pkgs/tools/text/transifex-client/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5868,6 +5868,8 @@ in
|
|||||||
|
|
||||||
tracefilesim = callPackage ../development/tools/analysis/garcosim/tracefilesim { };
|
tracefilesim = callPackage ../development/tools/analysis/garcosim/tracefilesim { };
|
||||||
|
|
||||||
|
transifex-client = python3.pkgs.callPackage ../tools/text/transifex-client { };
|
||||||
|
|
||||||
translate-shell = callPackage ../applications/misc/translate-shell { };
|
translate-shell = callPackage ../applications/misc/translate-shell { };
|
||||||
|
|
||||||
transporter = callPackage ../applications/networking/transporter { };
|
transporter = callPackage ../applications/networking/transporter { };
|
||||||
|
Loading…
Reference in New Issue
Block a user