1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/celery-redbeat/default.nix
2024-11-14 04:31:12 +01:00

50 lines
856 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
python-dateutil,
celery,
redis,
tenacity,
pytestCheckHook,
pytz,
fakeredis,
mock,
}:
buildPythonPackage rec {
pname = "celery-redbeat";
version = "2.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "sibson";
repo = "redbeat";
rev = "refs/tags/v${version}";
hash = "sha256-lAEbhRTp0jYrCgHaTvPrl+lW1NRezmmTqAnUmLdpVwY=";
};
propagatedBuildInputs = [
celery
python-dateutil
redis
tenacity
];
nativeCheckInputs = [
fakeredis
mock
pytestCheckHook
pytz
];
pythonImportsCheck = [ "redbeat" ];
meta = with lib; {
description = "Database-backed Periodic Tasks";
homepage = "https://github.com/celery/django-celery-beat";
license = licenses.bsd3;
maintainers = with maintainers; [ onny ];
};
}