about summary refs log tree commit diff
path: root/pkgs/servers/mautrix-telegram
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-08-12 23:24:30 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-08-12 23:24:30 +0200
commit682f35087a1baef814620cfcb9e99b068a5cd65f (patch)
treea074e1600b803418d27220bb719dd3445b196a5a /pkgs/servers/mautrix-telegram
parenta2d533dad3fb24c9e2e018cde157f65aa9a0ea0d (diff)
downloadnixlib-682f35087a1baef814620cfcb9e99b068a5cd65f.tar
nixlib-682f35087a1baef814620cfcb9e99b068a5cd65f.tar.gz
nixlib-682f35087a1baef814620cfcb9e99b068a5cd65f.tar.bz2
nixlib-682f35087a1baef814620cfcb9e99b068a5cd65f.tar.lz
nixlib-682f35087a1baef814620cfcb9e99b068a5cd65f.tar.xz
nixlib-682f35087a1baef814620cfcb9e99b068a5cd65f.tar.zst
nixlib-682f35087a1baef814620cfcb9e99b068a5cd65f.zip
mautrix-telegram: 0.10.0 -> unstable-2021-08-12
Diffstat (limited to 'pkgs/servers/mautrix-telegram')
-rw-r--r--pkgs/servers/mautrix-telegram/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/servers/mautrix-telegram/default.nix b/pkgs/servers/mautrix-telegram/default.nix
index 41d0d5b04671..9764e4ab3e3e 100644
--- a/pkgs/servers/mautrix-telegram/default.nix
+++ b/pkgs/servers/mautrix-telegram/default.nix
@@ -23,21 +23,24 @@ let
 
 in python.pkgs.buildPythonPackage rec {
   pname = "mautrix-telegram";
-  version = "0.10.0";
+  version = "unstable-2021-08-12";
   disabled = python.pythonOlder "3.7";
 
   src = fetchFromGitHub {
     owner = "tulir";
     repo = pname;
-    rev = "v${version}";
-    sha256 = "sha256-lLVKD+/pKqs8oWBdyL+R1lk22LqQOC9nbMlxhCK39xA=";
+    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 = with python.pkgs; ([
     Mako
     aiohttp