mautrix-telegram: 0.4.0.post1 -> 0.5.0
This commit is contained in:
@@ -1,30 +1,16 @@
|
||||
{ lib, fetchpatch, python3 }:
|
||||
{ lib, python3 }:
|
||||
|
||||
with python3.pkgs;
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mautrix-telegram";
|
||||
version = "0.4.0.post1";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7a51e55a7f362013ce1cce7d850c65dc8d4651dd05c63004429bc521b461d029";
|
||||
sha256 = "3d5156f205b94dbac76f7eafb0ca732ba16fa568d4440210f7dd4be5c3252dda";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/tulir/mautrix-telegram/commit/a258c59ca3558ad91b1fee190c624763ca835d2f.patch";
|
||||
sha256 = "04z4plsmqmg38rsw9irp5xc9wdgjvg6xba69mixi5v82h9lg3zzp";
|
||||
})
|
||||
|
||||
./fix_patch_conflicts.patch
|
||||
|
||||
(fetchpatch {
|
||||
url = "https://github.com/tulir/mautrix-telegram/commit/8021fcc24cbf8c88d9bcb2601333863c9615bd4f.patch";
|
||||
sha256 = "0cdfv8ggnjdwdhls1lk6498b233lvnb6175xbxr206km5mxyvqyk";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
mautrix-appservice
|
||||
@@ -36,10 +22,16 @@ buildPythonPackage rec {
|
||||
python_magic
|
||||
telethon
|
||||
telethon-session-sqlalchemy
|
||||
pillow
|
||||
lxml
|
||||
];
|
||||
|
||||
# No tests available
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestrunner
|
||||
pytest-mock
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/tulir/mautrix-telegram;
|
||||
|
||||
Reference in New Issue
Block a user