From 808f40f4cbb5756fe6b9946df3e3dd5e7a704676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tobias=20Christ?= Date: Tue, 4 Jul 2023 19:34:13 +0200 Subject: [PATCH] mautrix-telegram: Add override for mautrix Due to tight version constraints on the mautrix library, this commit introduces an override pinning the exact version necessary. --- pkgs/servers/mautrix-telegram/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/servers/mautrix-telegram/default.nix b/pkgs/servers/mautrix-telegram/default.nix index 6caff9c3e3d0..f2ef7060eabb 100644 --- a/pkgs/servers/mautrix-telegram/default.nix +++ b/pkgs/servers/mautrix-telegram/default.nix @@ -17,6 +17,14 @@ let }; doCheck = false; }); + mautrix = super.mautrix.overridePythonAttrs (oldAttrs: rec { + version = "0.20.0"; + src = oldAttrs.src.override { + rev = "refs/tags/v${version}"; + hash = "sha256-op28CGpJBcCBiy0WXboaf4JeNRIMX6653QkAV6XW/yI="; + }; + doCheck = false; + }); }; }; in