python310Packages.cleo: 1.0.0a5 -> 2.0.1
fixes CVE-2022-42966 https://github.com/python-poetry/cleo/blob/2.0.1/CHANGELOG.md
This commit is contained in:
parent
9f4bd9f98d
commit
857e8c001b
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user