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