``` • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/854fdc68881791812eddd33b2fed94b954979a8e' (2022-09-28) → 'github:NixOS/nixpkgs/10ecda252ce1b3b1d6403caeadbcc8f30d5ab796' (2022-09-30) ```
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" ];
|