mautrix-telegram: override mautrix to version 0.10.4

This is needed since 0.10.1 of mautrix-telegram, but it'd be a breaking
change of mautrix, which can be used for any kind of matrix client, so I
don't really want to break it.
This commit is contained in:
Maximilian Bosch 2021-08-20 11:17:04 +02:00
parent e1042038ac
commit 05e5b69ac8
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -2,16 +2,26 @@
, withE2BE ? true , withE2BE ? true
}: }:
with python3.pkgs;
let let
python = python3.override {
packageOverrides = self: super: {
mautrix = super.mautrix.overridePythonAttrs (oldAttrs: rec {
version = "0.10.4";
src = oldAttrs.src.override {
inherit version;
sha256 = "ffbc4e29eb56089539b408f8e4c12a5d5a5d11d7fe7d40f8c6279784c618b869";
};
});
};
};
# officially supported database drivers # officially supported database drivers
dbDrivers = [ dbDrivers = with python.pkgs; [
psycopg2 psycopg2
# sqlite driver is already shipped with python by default # sqlite driver is already shipped with python by default
]; ];
in buildPythonPackage rec { in with python.pkgs; buildPythonPackage rec {
pname = "mautrix-telegram"; pname = "mautrix-telegram";
version = "0.10.1"; version = "0.10.1";
disabled = python.pythonOlder "3.7"; disabled = python.pythonOlder "3.7";