tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
heisenbridge: override to mautrix 0.13.x
Yureka
4 years ago
6c1bb771
7e1995bb
+20
-5
1 changed file
expand all
collapse all
unified
split
pkgs
servers
heisenbridge
default.nix
+20
-5
pkgs/servers/heisenbridge/default.nix
···
1
-
{ lib, fetchFromGitHub, fetchpatch, python3Packages }:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3
-
python3Packages.buildPythonApplication rec {
4
pname = "heisenbridge";
5
version = "1.8.2";
6
···
15
echo "${version}" > heisenbridge/version.txt
16
'';
17
18
-
propagatedBuildInputs = with python3Packages; [
19
aiohttp
20
irc
21
-
mautrix
22
python-socks
23
pyyaml
24
];
25
26
-
checkInputs = with python3Packages; [
27
pytestCheckHook
28
];
29
···
1
+
{ lib, fetchFromGitHub, fetchpatch, python3 }:
2
+
3
+
let
4
+
python = python3.override {
5
+
packageOverrides = self: super: {
6
+
mautrix_0_13 = self.mautrix.overridePythonAttrs (oldAttrs: rec {
7
+
version = "0.13.3";
8
+
src = oldAttrs.src.override {
9
+
inherit (oldAttrs) pname;
10
+
inherit version;
11
+
sha256 = "1e4a292469f3e200c182aaa5bf693a5c3834b2a0cfb3d29e4c9a1559db7740e3";
12
+
};
13
+
});
14
+
};
15
+
};
16
+
in
17
18
+
python.pkgs.buildPythonApplication rec {
19
pname = "heisenbridge";
20
version = "1.8.2";
21
···
30
echo "${version}" > heisenbridge/version.txt
31
'';
32
33
+
propagatedBuildInputs = with python.pkgs; [
34
aiohttp
35
irc
36
+
mautrix_0_13
37
python-socks
38
pyyaml
39
];
40
41
+
checkInputs = with python.pkgs; [
42
pytestCheckHook
43
];
44