python310Packages.deep-translator: add changelog to meta

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-02-04 21:09:57 +01:00 committed by GitHub
parent 36fb0ebeef
commit 7a28048a7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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