about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pantalaimon
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-05-07 12:00:00 +0000
committerMichael Lingelbach <m.j.lbach@gmail.com>2021-05-07 14:26:19 -0700
commit7c8e33bbd46d208b69c2f9e248c36d64115a60cf (patch)
tree83c0fdbff60ccb33d102805854d44849f23edf8d /pkgs/applications/networking/instant-messengers/pantalaimon
parentd7ba1c9cfd93aec87c561dbbdb5a6bf4cff790f7 (diff)
pantalaimon: 0.8.0 -> 0.9.2
fix build
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pantalaimon')
-rw-r--r--pkgs/applications/networking/instant-messengers/pantalaimon/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pantalaimon/default.nix b/pkgs/applications/networking/instant-messengers/pantalaimon/default.nix
index 9c99741823aa5..dd46b64e4f64d 100644
--- a/pkgs/applications/networking/instant-messengers/pantalaimon/default.nix
+++ b/pkgs/applications/networking/instant-messengers/pantalaimon/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, buildPythonApplication, fetchFromGitHub, pythonOlder,
   attrs, aiohttp, appdirs, click, keyring, Logbook, peewee, janus,
   prompt_toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3,
-  setuptools,
+  setuptools, fetchpatch,
 
   pytest, faker, pytest-aiohttp, aioresponses,
 
@@ -10,7 +10,7 @@
 
 buildPythonApplication rec {
   pname = "pantalaimon";
-  version = "0.8.0";
+  version = "0.9.2";
 
   disabled = pythonOlder "3.6";
 
@@ -19,9 +19,17 @@ buildPythonApplication rec {
     owner = "matrix-org";
     repo = pname;
     rev = version;
-    sha256 = "0n86cdpw85qzlcr1ynvar0f0zbphmdz1jia9r75lmj07iw4r5hk9";
+    sha256 = "11dfv5b2slqybisq6npmrqxrzslh4bjs4093vrc05s94046d9d9n";
   };
 
+  patches = [
+    # accept newer matrix-nio versions
+    (fetchpatch {
+      url = "https://github.com/matrix-org/pantalaimon/commit/73f68c76fb05037bd7fe71688ce39eb1f526a385.patch";
+      sha256 = "0wvqcfan8yp67p6khsqkynbkifksp2422b9jy511mvhpy51sqykl";
+    })
+  ];
+
   propagatedBuildInputs = [
     aiohttp
     appdirs