diff options
Diffstat (limited to 'pkgs/servers/heisenbridge/default.nix')
-rw-r--r-- | pkgs/servers/heisenbridge/default.nix | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/pkgs/servers/heisenbridge/default.nix b/pkgs/servers/heisenbridge/default.nix index 0bc7bdb0bdfd0..cfbf1c1fb95c4 100644 --- a/pkgs/servers/heisenbridge/default.nix +++ b/pkgs/servers/heisenbridge/default.nix @@ -1,44 +1,31 @@ { lib, fetchFromGitHub, fetchpatch, python3 }: - -let - python = python3.override { - packageOverrides = self: super: { - mautrix_0_13 = self.mautrix.overridePythonAttrs (oldAttrs: rec { - version = "0.13.3"; - src = oldAttrs.src.override { - inherit (oldAttrs) pname; - inherit version; - sha256 = "1e4a292469f3e200c182aaa5bf693a5c3834b2a0cfb3d29e4c9a1559db7740e3"; - }; - }); - }; - }; -in - -python.pkgs.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "heisenbridge"; - version = "1.8.2"; + version = "1.10.1"; src = fetchFromGitHub { owner = "hifi"; repo = pname; rev = "v${version}"; - sha256 = "173prcd56rwlxjxlw67arnm12k1l317xi5s6m7jhmp8zbbrj5vwr"; + sha256 = "sha256-c+YP4pEGvLi7wZsDXrkoqR/isuYfXQmTwQp9gN5jHkQ="; }; postPatch = '' echo "${version}" > heisenbridge/version.txt + + substituteInPlace setup.cfg \ + --replace "irc >=19.0.0, <20.0" "irc" ''; - propagatedBuildInputs = with python.pkgs; [ + propagatedBuildInputs = with python3.pkgs; [ aiohttp irc - mautrix_0_13 + mautrix python-socks pyyaml ]; - checkInputs = with python.pkgs; [ + checkInputs = with python3.pkgs; [ pytestCheckHook ]; |