depot/third_party/nixpkgs/pkgs/development/python-modules/flower/default.nix

43 lines
735 B
Nix
Raw Normal View History

{ 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 ];
};
}