From 36fb0ebeefbd5ccb1b29b0d5a10cc96c6239f3e9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 3 Feb 2023 21:15:38 +0000 Subject: [PATCH 1/3] python310Packages.deep-translator: 1.9.2 -> 1.9.3 --- pkgs/development/python-modules/deep-translator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/deep-translator/default.nix b/pkgs/development/python-modules/deep-translator/default.nix index e68cda8c0e25..dffb7dca66d2 100644 --- a/pkgs/development/python-modules/deep-translator/default.nix +++ b/pkgs/development/python-modules/deep-translator/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "deep-translator"; - version = "1.9.2"; + version = "1.9.3"; src = fetchPypi { inherit pname version; - sha256 = "sha256-iHK1A44SZqJ5N+D2ets76xuU0mryGT7TehM4wryB/AY="; + sha256 = "sha256-7VsEN6t9c0FMw0zHWnxnIyilQmQ127rXEfLrAYatKEc="; }; propagatedBuildInputs = [ From 7a28048a7f7e4e7b3d2bdb648ea6367fbe40b8e9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Feb 2023 21:09:57 +0100 Subject: [PATCH 2/3] python310Packages.deep-translator: add changelog to meta - disable on unsupported Python releases --- .../python-modules/deep-translator/default.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/deep-translator/default.nix b/pkgs/development/python-modules/deep-translator/default.nix index dffb7dca66d2..e01ada284958 100644 --- a/pkgs/development/python-modules/deep-translator/default.nix +++ b/pkgs/development/python-modules/deep-translator/default.nix @@ -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 ]; }; From 0e52a5627ecfeaf036323cfa8c8e590c7fb105ea Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 8 Feb 2023 15:18:37 +0100 Subject: [PATCH 3/3] python310Packages.deep-translator: relicense to asl20 --- pkgs/development/python-modules/deep-translator/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/deep-translator/default.nix b/pkgs/development/python-modules/deep-translator/default.nix index e01ada284958..eec2c9fd895c 100644 --- a/pkgs/development/python-modules/deep-translator/default.nix +++ b/pkgs/development/python-modules/deep-translator/default.nix @@ -38,7 +38,7 @@ buildPythonPackage rec { 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; + license = licenses.asl20; maintainers = with maintainers; [ wolfangaukang ]; }; }