depot/pkgs/by-name/ma/matrix-zulip-bridge/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +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";
};
}