Files
nixpkgs/pkgs/development/python-modules/dramatiq-eager-broker/default.nix
phanirithvij 2c190b59c1 various: use fetchFromCodeberg
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2026-05-30 17:58:31 +05:30

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 ];
};
}