blob: e8251a4307db7225c39f5cbe05336c4c3527f150 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
fetchFromGitHub,
nix-update-script,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "heisenbridge";
version = "1.15.3";
src = fetchFromGitHub {
owner = "hifi";
repo = pname;
tag = "v${version}";
sha256 = "sha256-wH3IZcY4CtawEicKCkFMh055SM0chYHsPKxYess9II0=";
};
postPatch = ''
echo "${version}" > heisenbridge/version.txt
'';
propagatedBuildInputs = with python3.pkgs; [
irc
ruamel-yaml
mautrix
python-socks
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Bouncer-style Matrix-IRC bridge";
homepage = "https://github.com/hifi/heisenbridge";
license = licenses.mit;
maintainers = [ maintainers.sumnerevans ];
mainProgram = "heisenbridge";
};
}
|