Skip to content

Commit

Permalink
Merge pull request #281200 from andersrh/upgrade-electrum
Browse files Browse the repository at this point in the history
electrum: add QtWayland and certifi
  • Loading branch information
prusnak authored Jan 16, 2024
2 parents b263ab4 + 495b938 commit 9779ca8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/misc/electrum/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
, secp256k1
, enableQt ? true
, callPackage
, qtwayland
}:

let
Expand Down Expand Up @@ -53,6 +54,7 @@ python3.pkgs.buildPythonApplication {
'';

nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ];
buildInputs = lib.optional stdenv.isLinux qtwayland;

propagatedBuildInputs = with python3.pkgs; [
aiohttp
Expand All @@ -70,6 +72,7 @@ python3.pkgs.buildPythonApplication {
qrcode
requests
tlslite-ng
certifi
# plugins
btchip-python
ledger-bitcoin
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/misc/electrum/grs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
, zbar
, secp256k1
, enableQt ? true
, qtwayland
}:

let
Expand Down Expand Up @@ -35,6 +36,7 @@ python3.pkgs.buildPythonApplication {
};

nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ];
buildInputs = lib.optional stdenv.isLinux qtwayland;

propagatedBuildInputs = with python3.pkgs; [
aiohttp
Expand All @@ -53,6 +55,7 @@ python3.pkgs.buildPythonApplication {
qrcode
requests
tlslite-ng
certifi
# plugins
btchip-python
ledger-bitcoin
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/misc/electrum/ltc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
, zbar
, secp256k1
, enableQt ? true
, qtwayland
}:

let
Expand Down Expand Up @@ -70,6 +71,7 @@ python3.pkgs.buildPythonApplication {
qrcode
requests
tlslite-ng
certifi
# plugins
btchip-python
ckcc-protocol
Expand Down Expand Up @@ -110,6 +112,7 @@ python3.pkgs.buildPythonApplication {
'';

nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
buildInputs = lib.optional stdenv.isLinux qtwayland;

pytestFlagsArray = [ "electrum_ltc/tests" ];

Expand Down

0 comments on commit 9779ca8

Please sign in to comment.