python310Packages.deep-translator: add changelog to meta
- disable on unsupported Python releases
This commit is contained in:
parent
36fb0ebeef
commit
7a28048a7f
1 changed files with 14 additions and 3 deletions
|
@ -1,12 +1,22 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, beautifulsoup4, requests, click }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, beautifulsoup4
|
||||
, requests
|
||||
, click
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deep-translator";
|
||||
version = "1.9.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-7VsEN6t9c0FMw0zHWnxnIyilQmQ127rXEfLrAYatKEc=";
|
||||
hash = "sha256-7VsEN6t9c0FMw0zHWnxnIyilQmQ127rXEfLrAYatKEc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -25,8 +35,9 @@ buildPythonPackage rec {
|
|||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Flexible, free and unlimited Python tool to translate between different languages in a simple way using multiple translators";
|
||||
description = "Python tool to translate between different languages by using multiple translators";
|
||||
homepage = "https://deep-translator.readthedocs.io";
|
||||
changelog = "https://github.com/nidhaloff/deep-translator/releases/tag/v1.10.0";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue