23 lines
412 B
Nix
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;
|
|
};
|
|
}
|