43 lines
735 B
Nix
43 lines
735 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, Babel
|
|
, celery
|
|
, future
|
|
, humanize
|
|
, importlib-metadata
|
|
, mock
|
|
, pytz
|
|
, tornado
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flower";
|
|
version = "0.9.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "25782840f7ffc25dcf478d94535a2d815448de4aa6c71426be6abfa9ca417448";
|
|
};
|
|
|
|
# flower and humanize aren't listed in setup.py but imported
|
|
propagatedBuildInputs = [
|
|
Babel
|
|
celery
|
|
future
|
|
importlib-metadata
|
|
pytz
|
|
tornado
|
|
humanize
|
|
];
|
|
|
|
checkInputs = [ mock ];
|
|
|
|
meta = with lib; {
|
|
description = "Celery Flower";
|
|
homepage = "https://github.com/mher/flower";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = [ maintainers.arnoldfarkas ];
|
|
};
|
|
}
|