3
0
Fork 0
forked from mirrors/nixpkgs

electrum: make compatible with trezorlib 0.13

This commit is contained in:
Pavol Rusnak 2021-12-13 18:31:53 +01:00
parent 1819d5e79e
commit f80e4a9eaa
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -2,6 +2,7 @@
, stdenv
, fetchurl
, fetchFromGitHub
, fetchpatch
, wrapQtAppsHook
, python3
, zbar
@ -78,6 +79,14 @@ python3.pkgs.buildPythonApplication {
--replace "dnspython>=2.0,<2.1" "dnspython>=2.0"
'';
patches = [
# trezorlib 0.13 compatibility
(fetchpatch {
url = "https://github.com/spesmilo/electrum/commit/97e61cfacdca374103e4184f0f9a07a0c5757afb.patch";
sha256 = "sha256-RGVBO9IskC+lQOHNGjrqH6EM/inNPJlcD9sSWedyT5E=";
})
];
nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ];
propagatedBuildInputs = with py.pkgs; [