mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
python310Packages.celery-redbeat: init at 2.0.0
This commit is contained in:
parent
4e7b10b266
commit
67258a89dd
46
pkgs/development/python-modules/celery-redbeat/default.nix
Normal file
46
pkgs/development/python-modules/celery-redbeat/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python-dateutil
|
||||
, celery
|
||||
, redis
|
||||
, tenacity
|
||||
, pytestCheckHook
|
||||
, fakeredis
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery-redbeat";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sibson";
|
||||
repo = "redbeat";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-pu4umhfNFZ30bQu5PcT2LYN4WGzFj4p4/qHm3pVIV+c=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
celery
|
||||
redis
|
||||
tenacity
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
fakeredis
|
||||
mock
|
||||
];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -1564,6 +1564,8 @@ in {
|
||||
|
||||
celery = callPackage ../development/python-modules/celery { };
|
||||
|
||||
celery-redbeat = callPackage ../development/python-modules/celery-redbeat { };
|
||||
|
||||
cement = callPackage ../development/python-modules/cement { };
|
||||
|
||||
censys = callPackage ../development/python-modules/censys { };
|
||||
|
Loading…
Reference in New Issue
Block a user