depot/third_party/nixpkgs/pkgs/by-name/ma/matrix-zulip-bridge/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

57 lines
1.2 KiB
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "MatrixZulipBridge";
version = "0.4.1";
pyproject = true;
disabled = python3Packages.pythonOlder "3.10";
src = fetchFromGitHub {
owner = "GearKite";
repo = "MatrixZulipBridge";
rev = "v${version}";
hash = "sha256-5bDqZb8xx5SjThZUSmOcctwo6B15cjkIwA26QNfED2A=";
};
build-system = with python3Packages; [
poetry-core
];
dependencies = with python3Packages; [
zulip
beautifulsoup4
bidict
coloredlogs
emoji
markdownify
mautrix
python-dotenv
ruamel-yaml
zulip-emoji-mapping
];
pythonRelaxDeps = [
"bidict"
"markdownify"
"ruamel-yaml"
"zulip-emoji-mapping"
];
pythonImportsCheck = [
"matrixzulipbridge"
];
meta = {
description = "Matrix puppeting appservice bridge for Zulip";
homepage = "https://github.com/GearKite/MatrixZulipBridge";
changelog = "https://github.com/GearKite/MatrixZulipBridge/releases/tag/v${version}";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ robertrichter ];
mainProgram = "matrix-zulip-bridge";
};
}