Merge pull request #188997 from dotlambda/flower-1.2.0

python310Packages.flower: 1.1.0 -> 1.2.0
This commit is contained in:
Jonas Heinrich 2022-09-02 09:47:00 +02:00 committed by GitHub
commit f9e288ecf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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