mautrix-telegram: 0.10.0 -> unstable-2021-08-12
This commit is contained in:
parent
a2d533dad3
commit
682f35087a
1 changed files with 6 additions and 3 deletions
|
@ -23,21 +23,24 @@ let
|
||||||
|
|
||||||
in python.pkgs.buildPythonPackage rec {
|
in python.pkgs.buildPythonPackage rec {
|
||||||
pname = "mautrix-telegram";
|
pname = "mautrix-telegram";
|
||||||
version = "0.10.0";
|
version = "unstable-2021-08-12";
|
||||||
disabled = python.pythonOlder "3.7";
|
disabled = python.pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tulir";
|
owner = "tulir";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "ec64c83cb01791525a39f937f3b847368021dce8";
|
||||||
sha256 = "sha256-lLVKD+/pKqs8oWBdyL+R1lk22LqQOC9nbMlxhCK39xA=";
|
sha256 = "0rg4f4abdddhhf1xpz74y4468dv3mnm7k8nj161r1xszrk9f2n76";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./0001-Re-add-entrypoint.patch ./0002-Don-t-depend-on-pytest-runner.patch ];
|
patches = [ ./0001-Re-add-entrypoint.patch ./0002-Don-t-depend-on-pytest-runner.patch ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e '/alembic>/d' requirements.txt
|
sed -i -e '/alembic>/d' requirements.txt
|
||||||
|
substituteInPlace requirements.txt \
|
||||||
|
--replace "telethon>=1.22,<1.23" "telethon"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python.pkgs; ([
|
propagatedBuildInputs = with python.pkgs; ([
|
||||||
Mako
|
Mako
|
||||||
aiohttp
|
aiohttp
|
||||||
|
|
Loading…
Reference in a new issue