nixpkgs-suyu/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
}:
2020-01-22 15:14:53 +01:00
buildPythonPackage rec {
pname = "flower";
2020-05-09 12:01:48 +02:00
version = "0.9.4";
2020-01-22 15:14:53 +01:00
src = fetchPypi {
inherit pname version;
2020-05-09 12:01:48 +02:00
sha256 = "25782840f7ffc25dcf478d94535a2d815448de4aa6c71426be6abfa9ca417448";
2020-01-22 15:14:53 +01:00
};
# flower and humanize aren't listed in setup.py but imported
propagatedBuildInputs = [
Babel
celery
future
importlib-metadata
pytz
tornado
humanize
];
2020-01-22 15:14:53 +01:00
checkInputs = [ mock ];
2020-01-22 15:14:53 +01:00
meta = with lib; {
description = "Celery Flower";
homepage = "https://github.com/mher/flower";
license = licenses.bsdOriginal;
2020-01-22 15:14:53 +01:00
maintainers = [ maintainers.arnoldfarkas ];
};
}