python3Packages.pydocket: init at 0.16.3
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
cloudpickle,
|
||||
exceptiongroup,
|
||||
fakeredis,
|
||||
opentelemetry-api,
|
||||
opentelemetry-exporter-prometheus,
|
||||
opentelemetry-instrumentation,
|
||||
prometheus-client,
|
||||
py-key-value-aio,
|
||||
python-json-logger,
|
||||
redis,
|
||||
rich,
|
||||
typer,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pydocket";
|
||||
version = "0.16.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chrisguidry";
|
||||
repo = "docket";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-DNq+PUbh6SfazxkM7tbjEOXbh1VSJPM3jEkgn64XQ5g=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"fakeredis"
|
||||
"opentelemetry-exporter-prometheus"
|
||||
"opentelemetry-instrumentation"
|
||||
];
|
||||
dependencies = [
|
||||
cloudpickle
|
||||
exceptiongroup
|
||||
fakeredis
|
||||
opentelemetry-api
|
||||
opentelemetry-exporter-prometheus
|
||||
opentelemetry-instrumentation
|
||||
prometheus-client
|
||||
py-key-value-aio
|
||||
python-json-logger
|
||||
redis
|
||||
rich
|
||||
typer
|
||||
typing-extensions
|
||||
]
|
||||
++ py-key-value-aio.optional-dependencies.memory;
|
||||
|
||||
pythonImportsCheck = [ "docket" ];
|
||||
|
||||
# All tests require internet access
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Distributed background task system for Python";
|
||||
homepage = "https://github.com/chrisguidry/docket";
|
||||
changelog = "https://github.com/chrisguidry/docket/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
@@ -13277,6 +13277,8 @@ self: super: with self; {
|
||||
|
||||
pydo = callPackage ../development/python-modules/pydo { };
|
||||
|
||||
pydocket = callPackage ../development/python-modules/pydocket { };
|
||||
|
||||
pydocstyle = callPackage ../development/python-modules/pydocstyle { };
|
||||
|
||||
pydocumentdb = callPackage ../development/python-modules/pydocumentdb { };
|
||||
|
||||
Reference in New Issue
Block a user