about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cleo
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-11-27 20:13:26 -0800
committerRobert Schütz <github@dotlambda.de>2022-11-29 18:02:03 -0800
commit857e8c001b657bad295f183c9a36316adaf7138c (patch)
treedbefda3312c73d4c9ba63c5838214cf30290a27f /pkgs/development/python-modules/cleo
parent9f4bd9f98de8b6342582366fef294f71480a5949 (diff)
python310Packages.cleo: 1.0.0a5 -> 2.0.1
fixes CVE-2022-42966
https://github.com/python-poetry/cleo/blob/2.0.1/CHANGELOG.md
Diffstat (limited to 'pkgs/development/python-modules/cleo')
-rw-r--r--pkgs/development/python-modules/cleo/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/cleo/default.nix b/pkgs/development/python-modules/cleo/default.nix
index e81ff175d5336..f834ef198ca81 100644
--- a/pkgs/development/python-modules/cleo/default.nix
+++ b/pkgs/development/python-modules/cleo/default.nix
@@ -3,21 +3,21 @@
 , fetchFromGitHub
 , crashtest
 , poetry-core
-, pylev
 , pytest-mock
 , pytestCheckHook
+, rapidfuzz
 }:
 
 buildPythonPackage rec {
   pname = "cleo";
-  version = "1.0.0a5";
+  version = "2.0.1";
   format = "pyproject";
 
   src = fetchFromGitHub {
     owner = "python-poetry";
     repo = pname;
     rev = "refs/tags/${version}";
-    hash = "sha256-FtGGIRF/tA2OWEjkCFwa1HHg6VY+5E5mAiJC/zjUC1g=";
+    hash = "sha256-y9PYlGSPLpZl9Ad2AFuDKIopH0LRETLp35aiZtLcXzM=";
   };
 
   postPatch = ''
@@ -31,7 +31,7 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [
     crashtest
-    pylev
+    rapidfuzz
   ];
 
   pythonImportsCheck = [
@@ -48,6 +48,7 @@ buildPythonPackage rec {
 
   meta = with lib; {
     homepage = "https://github.com/python-poetry/cleo";
+    changelog = "https://github.com/python-poetry/cleo/blob/${src.rev}/CHANGELOG.md";
     description = "Allows you to create beautiful and testable command-line interfaces";
     license = licenses.mit;
     maintainers = with maintainers; [ jakewaksbaum ];