From 1e597a52e52e88c1755c6d5f708cbbaad0e6a624 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 16 Jul 2020 08:32:35 +0100 Subject: [PATCH] pythonPackages.flower: 0.9.4 -> 0.9.5 --- .../python-modules/flower/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/flower/default.nix b/pkgs/development/python-modules/flower/default.nix index 3a2f987ed510..b31cbc7424d9 100644 --- a/pkgs/development/python-modules/flower/default.nix +++ b/pkgs/development/python-modules/flower/default.nix @@ -1,34 +1,35 @@ { lib , buildPythonPackage , fetchPypi -, Babel , celery -, future , humanize -, importlib-metadata , mock , pytz , tornado +, prometheus_client }: buildPythonPackage rec { pname = "flower"; - version = "0.9.4"; + version = "0.9.5"; src = fetchPypi { inherit pname version; - sha256 = "25782840f7ffc25dcf478d94535a2d815448de4aa6c71426be6abfa9ca417448"; + sha256 = "171zckhk9ni14f1d82wf62hhciy0gx13fd02sr9m9qlj50fnv4an"; }; - # flower and humanize aren't listed in setup.py but imported + postPatch = '' + # rely on using example programs (flowers/examples/tasks.py) which + # are not part of the distribution + rm tests/load.py + ''; + propagatedBuildInputs = [ - Babel celery - future - importlib-metadata pytz tornado humanize + prometheus_client ]; checkInputs = [ mock ];