electrum-ltc: fix #94238

This commit is contained in:
Louis Bettens 2020-07-30 17:40:47 +02:00
parent 7141271410
commit 91764a047c
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{ stdenv
, fetchurl
, python3Packages
, wrapQtAppsHook
}:
python3Packages.buildPythonApplication rec {
@ -12,7 +13,7 @@ python3Packages.buildPythonApplication rec {
sha256 = "0kxcx1xf6h9z8x0k483d6ykpnmfr30n6z3r6lgqxvbl42pq75li7";
};
nativeBuildInputs = with python3Packages; [ pyqt5 ];
nativeBuildInputs = with python3Packages; [ pyqt5 wrapQtAppsHook ];
propagatedBuildInputs = with python3Packages; [
pyaes
@ -35,6 +36,10 @@ python3Packages.buildPythonApplication rec {
sed -i '/Created: .*/d' gui/qt/icons_rc.py
'';
postFixup = ''
wrapQtApp $out/bin/electrum-ltc
'';
checkPhase = ''
$out/bin/electrum-ltc help >/dev/null
'';
@ -54,4 +59,3 @@ python3Packages.buildPythonApplication rec {
maintainers = with maintainers; [ ];
};
}

View File

@ -19654,7 +19654,7 @@ in
electrum-dash = callPackage ../applications/misc/electrum/dash.nix { };
electrum-ltc = callPackage ../applications/misc/electrum/ltc.nix { };
electrum-ltc = libsForQt5.callPackage ../applications/misc/electrum/ltc.nix { };
elementary-planner = callPackage ../applications/office/elementary-planner { };