mautrix-telegram: 0.7.0 -> 0.7.1

https://github.com/tulir/mautrix-telegram/releases/tag/v0.7.1
This commit is contained in:
Maximilian Bosch 2020-02-04 22:23:41 +01:00
parent f28acbdd33
commit 89d13541e5
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,25 +1,17 @@
{ lib, python3, mautrix-telegram, fetchpatch }:
{ lib, python3, mautrix-telegram }:
with python3.pkgs;
buildPythonPackage rec {
pname = "mautrix-telegram";
version = "0.7.0";
version = "0.7.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0xzivcn1s5j2nn9p7li9bzr0h225bnli4fr3yrh8v7npx2ymg1r3";
sha256 = "1yi4h37lhlpa095hzd0gwn1ifbycq8878kj5n2sjhw8kk6nblda9";
};
patches = [
# fix tests
(fetchpatch {
url = "https://github.com/tulir/mautrix-telegram/commit/fe52f0ad106122f08af72e356c4c62bb8875b453.patch";
sha256 = "0r7j7q78brqqx0rkchld328k00yq0ykdk7syvwpihqzj3gchacb7";
})
];
postPatch = ''
sed -i -e '/alembic>/d' setup.py
substituteInPlace setup.py \