17 lines
609 B
Diff
17 lines
609 B
Diff
diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix
|
|
index 46ea57c6193..8f2768fac74 100644
|
|
--- a/pkgs/applications/misc/electrum/default.nix
|
|
+++ b/pkgs/applications/misc/electrum/default.nix
|
|
@@ -111,6 +111,11 @@ python3.pkgs.buildPythonApplication {
|
|
wrapQtApp $out/bin/electrum
|
|
'';
|
|
|
|
+ postPatch = ''
|
|
+ substituteInPlace contrib/requirements/requirements.txt \
|
|
+ --replace "protobuf>=3.12,<4" "protobuf>=3.12"
|
|
+ '';
|
|
+
|
|
checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
|
|
|
|
pytestFlagsArray = [ "electrum/tests" ];
|