38 lines
862 B
Nix
38 lines
862 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
wheel,
|
|
typeguard,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "scheduler";
|
|
version = "0.8.8";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-RXWhLNJp5OSJZAmDb9kRVgy2P7djQ2DuYqovpOxJX/0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
typeguard
|
|
];
|
|
|
|
pythonImportsCheck = [ "scheduler" ];
|
|
|
|
meta = with lib; {
|
|
description = "A simple in-process python scheduler library with asyncio, threading and timezone support. Use datetime standard library objects for planning of Jobs depending on time cycles, fixed times, weekdays, dates, weights, offsets and execution counts";
|
|
homepage = "https://pypi.org/project/scheduler/";
|
|
license = licenses.lgpl3;
|
|
maintainers = with maintainers; [ pinpox ];
|
|
};
|
|
}
|