mautrix-telegram: 0.10.0 -> unstable-2021-08-12
(cherry picked from commit 682f35087a1baef814620cfcb9e99b068a5cd65f)
This commit is contained in:
parent
50d17a4663
commit
cd84b8ad8b
|
@ -13,19 +13,21 @@ let
|
|||
|
||||
in buildPythonPackage rec {
|
||||
pname = "mautrix-telegram";
|
||||
version = "0.9.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
version = "unstable-2021-08-12";
|
||||
disabled = python.pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tulir";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1543ljjl3jg3ayid7ifi4bamqh4gq85pmlbs3m8i7phjbbm7g9dn";
|
||||
rev = "ec64c83cb01791525a39f937f3b847368021dce8";
|
||||
sha256 = "0rg4f4abdddhhf1xpz74y4468dv3mnm7k8nj161r1xszrk9f2n76";
|
||||
};
|
||||
|
||||
patches = [ ./0001-Re-add-entrypoint.patch ./0002-Don-t-depend-on-pytest-runner.patch ];
|
||||
postPatch = ''
|
||||
sed -i -e '/alembic>/d' requirements.txt
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "telethon>=1.22,<1.23" "telethon"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
Loading…
Reference in New Issue