mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-29 13:35:44 +00:00
36 lines
767 B
Nix
36 lines
767 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromCodeberg,
|
|
uv-build,
|
|
dramatiq,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dramatiq-eager-broker";
|
|
version = "0.3.0";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchFromCodeberg {
|
|
owner = "yaal";
|
|
repo = "dramatiq-eager-broker";
|
|
tag = version;
|
|
hash = "sha256-tz4Gy31y5oaTHFAzb5L7bg0AhG1U/JKDySGloA7/A/8=";
|
|
};
|
|
|
|
build-system = [ uv-build ];
|
|
|
|
dependencies = [ dramatiq ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
description = "An eager broker for Dramatiq that executes tasks synchronously and immediately, without queuing";
|
|
homepage = "https://codeberg.org/yaal/dramatiq-eager-broker";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.erictapen ];
|
|
};
|
|
}
|