2020-06-18 07:06:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, Babel
|
|
|
|
, celery
|
|
|
|
, future
|
|
|
|
, humanize
|
|
|
|
, importlib-metadata
|
|
|
|
, mock
|
|
|
|
, pytz
|
|
|
|
, tornado
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flower";
|
2020-06-02 18:00:15 +00:00
|
|
|
version = "0.9.4";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-02 18:00:15 +00:00
|
|
|
sha256 = "25782840f7ffc25dcf478d94535a2d815448de4aa6c71426be6abfa9ca417448";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
# flower and humanize aren't listed in setup.py but imported
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
Babel
|
|
|
|
celery
|
|
|
|
future
|
|
|
|
importlib-metadata
|
|
|
|
pytz
|
|
|
|
tornado
|
|
|
|
humanize
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
checkInputs = [ mock ];
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Celery Flower";
|
|
|
|
homepage = "https://github.com/mher/flower";
|
2020-06-18 07:06:33 +00:00
|
|
|
license = licenses.bsdOriginal;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.arnoldfarkas ];
|
|
|
|
};
|
|
|
|
}
|