python310Packages.flower: 1.1.0 -> 1.2.0

fixes CVE-2022-30034
This commit is contained in:
Robert Schütz 2022-08-30 17:42:52 +00:00
parent 83a5f62886
commit b38c93f803

View File

@ -3,7 +3,6 @@
, fetchPypi
, celery
, humanize
, mock
, pytz
, tornado
, prometheus-client
@ -12,12 +11,12 @@
buildPythonPackage rec {
pname = "flower";
version = "1.1.0";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+SDKKQLXU5/BgKsV5R8dkYNV5cwj2oVP+dWcbloXJbY=";
sha256 = "46493c7e8d9ca2167e8a46eb97ae8d280997cb40a81993230124d74f0fe40bac";
};
postPatch = ''
@ -35,27 +34,17 @@ buildPythonPackage rec {
];
checkInputs = [
mock
pytestCheckHook
];
disabledTests = [
# AssertionError as the celery release can't be detected
"test_default"
"test_with_app"
];
pythonImportsCheck = [
"flower"
];
meta = with lib; {
description = "Celery Flower";
description = "Real-time monitor and web admin for Celery distributed task queue";
homepage = "https://github.com/mher/flower";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ arnoldfarkas ];
knownVulnerabilities = [
"CVE-2022-30034"
];
};
}