mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 00:34:00 +00:00
electrum: add QtWayland and certifi
QtWayland is added so that Electrum will work natively on Wayland. If you try to launch it on Wayland without QtWayland, you will get an error saying that QT couldn't find a module for Wayland. Certifi is added, because it's specified as a requirement for Electrum in their requirements.txt file here: https://github.com/spesmilo/electrum/blob/4.4.6/contrib/requirements/requirements.txt Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
0b8ab48478
commit
495b938c3b
@ -8,6 +8,7 @@
|
||||
, secp256k1
|
||||
, enableQt ? true
|
||||
, callPackage
|
||||
, qtwayland
|
||||
}:
|
||||
|
||||
let
|
||||
@ -53,6 +54,7 @@ python3.pkgs.buildPythonApplication {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ];
|
||||
buildInputs = lib.optional stdenv.isLinux qtwayland;
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
aiohttp
|
||||
@ -70,6 +72,7 @@ python3.pkgs.buildPythonApplication {
|
||||
qrcode
|
||||
requests
|
||||
tlslite-ng
|
||||
certifi
|
||||
# plugins
|
||||
btchip-python
|
||||
ledger-bitcoin
|
||||
|
@ -6,6 +6,7 @@
|
||||
, zbar
|
||||
, secp256k1
|
||||
, enableQt ? true
|
||||
, qtwayland
|
||||
}:
|
||||
|
||||
let
|
||||
@ -35,6 +36,7 @@ python3.pkgs.buildPythonApplication {
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ];
|
||||
buildInputs = lib.optional stdenv.isLinux qtwayland;
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
aiohttp
|
||||
@ -53,6 +55,7 @@ python3.pkgs.buildPythonApplication {
|
||||
qrcode
|
||||
requests
|
||||
tlslite-ng
|
||||
certifi
|
||||
# plugins
|
||||
btchip-python
|
||||
ledger-bitcoin
|
||||
|
@ -7,6 +7,7 @@
|
||||
, zbar
|
||||
, secp256k1
|
||||
, enableQt ? true
|
||||
, qtwayland
|
||||
}:
|
||||
|
||||
let
|
||||
@ -70,6 +71,7 @@ python3.pkgs.buildPythonApplication {
|
||||
qrcode
|
||||
requests
|
||||
tlslite-ng
|
||||
certifi
|
||||
# plugins
|
||||
btchip-python
|
||||
ckcc-protocol
|
||||
@ -110,6 +112,7 @@ python3.pkgs.buildPythonApplication {
|
||||
'';
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
|
||||
buildInputs = lib.optional stdenv.isLinux qtwayland;
|
||||
|
||||
pytestFlagsArray = [ "electrum_ltc/tests" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user