mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #132021 from sikmir/transifex-client
transifex-client: 0.13.9 → 0.14.3, fix build
This commit is contained in:
commit
6b16843c1d
1 changed files with 9 additions and 9 deletions
|
@ -1,23 +1,23 @@
|
|||
{ lib, buildPythonApplication, fetchPypi
|
||||
, python-slugify, requests, urllib3, six, setuptools }:
|
||||
, python-slugify, requests, urllib3, six, setuptools, GitPython }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "transifex-client";
|
||||
version = "0.13.9";
|
||||
version = "0.14.3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
urllib3 requests python-slugify six setuptools
|
||||
urllib3 requests python-slugify six setuptools GitPython
|
||||
];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lgd77vrddvyn8afkxr7a7hblmp4k5sr0i9i1032xdih2bipdd9f";
|
||||
sha256 = "sha256-sKol67lRaYPFa7Bg9KNa1rDrNoT9DtUd48NY8jqK1iw=";
|
||||
};
|
||||
|
||||
# https://github.com/transifex/transifex-client/issues/323
|
||||
prePatch = ''
|
||||
substituteInPlace requirements.txt --replace "urllib3<1.24" "urllib3>=1.24" \
|
||||
--replace "six==1.11.0" "six>=1.11.0" \
|
||||
--replace "python-slugify<2.0.0" "python-slugify>2.0.0"
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "python-slugify<5.0.0" "python-slugify"
|
||||
'';
|
||||
|
||||
# Requires external resources
|
||||
|
@ -25,8 +25,8 @@ buildPythonApplication rec {
|
|||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.transifex.com/";
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Only;
|
||||
description = "Transifex translation service client";
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue