summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/flower
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-07-24 21:33:21 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-07-24 21:33:21 +0200
commit17e77e142252c67e776cf2869de2cbaa82e23378 (patch)
tree64f3992c8f940521c7671a5b502ff7ff8f560530 /pkgs/development/python-modules/flower
parentMerge pull request #130923 from dotlambda/duplicity-python39 (diff)
downloadnixpkgs-17e77e142252c67e776cf2869de2cbaa82e23378.tar.gz
python3Packages.flower: 0.9.7 -> 1.0.0
Diffstat (limited to 'pkgs/development/python-modules/flower')
-rw-r--r--pkgs/development/python-modules/flower/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/flower/default.nix b/pkgs/development/python-modules/flower/default.nix
index 3662116bc2a6..67ecdde0d5f1 100644
--- a/pkgs/development/python-modules/flower/default.nix
+++ b/pkgs/development/python-modules/flower/default.nix
@@ -7,22 +7,22 @@
, pytz
, tornado
, prometheus_client
+, pytestCheckHook
}:
buildPythonPackage rec {
pname = "flower";
- version = "0.9.7";
+ version = "1.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "cf27a254268bb06fd4972408d0518237fcd847f7da4b4cd8055e228150ace8f3";
+ sha256 = "1gcczr04g7wx99h7pxxx1p9n50sbyi0zxrzy7f7m0sf5apxw85rf";
};
postPatch = ''
# rely on using example programs (flowers/examples/tasks.py) which
# are not part of the distribution
rm tests/load.py
- substituteInPlace requirements/default.txt --replace "prometheus_client==0.8.0" "prometheus_client>=0.8.0"
'';
propagatedBuildInputs = [
@@ -33,7 +33,10 @@ buildPythonPackage rec {
prometheus_client
];
- checkInputs = [ mock ];
+ checkInputs = [
+ mock
+ pytestCheckHook
+ ];
pythonImportsCheck = [ "flower" ];
@@ -41,7 +44,6 @@ buildPythonPackage rec {
description = "Celery Flower";
homepage = "https://github.com/mher/flower";
license = licenses.bsdOriginal;
- maintainers = [ maintainers.arnoldfarkas ];
- broken = (celery.version >= "5.0.2"); # currently broken with celery>=5.0 by https://github.com/mher/flower/pull/1021
+ maintainers = with maintainers; [ arnoldfarkas ];
};
}