nix/pkgs/alertbot/default.nix
Jeltz a64b34810d
wip: nixpkgs versions + infra network + monitoring
Signed-off-by: Jeltz <jeltz@federez.net>
2025-04-05 21:26:29 +02:00

23 lines
412 B
Nix

{
lib,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "alertbot";
version = "1.0.0";
pyproject = true;
disabled = python3.pythonOlder "3.12";
src = ./src;
build-system = [ python3.pkgs.hatchling ];
dependencies = with python3.pkgs; [ pydantic aiohttp matrix-nio jinja2 ];
meta = {
description = "Alertmanager Matrix Bot";
license = lib.licenses.agpl3Only;
};
}