weechat-matrix: fix startup crash

Python 3.10 has a bug in its SSL module.

Fixes: https://github.com/NixOS/nixpkgs/issues/178540
This commit is contained in:
Profpatsch 2022-06-26 16:47:47 +02:00
parent 00b644c8e6
commit 284d5486a5

View file

@ -2,6 +2,7 @@
, lib
, python
, fetchFromGitHub
, fetchpatch
, pyopenssl
, webcolors
, future
@ -33,6 +34,11 @@ in buildPythonPackage {
hash = "sha256-o4kgneszVLENG167nWnk2FxM+PsMzi+PSyMUMIktZcc=";
};
patches = fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/poljar/weechat-matrix/pull/309.patch";
sha256 = "sha256-Grdht+TOFvCYRpL7uhPivqL7YzLoNVF3iQNHgbv1Te0=";
};
propagatedBuildInputs = [
pyopenssl
webcolors