electrum: 4.0.9 -> 4.1.1
This commit is contained in:
parent
340194a7b0
commit
de89b66ba7
1 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
|||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, wrapQtAppsHook
|
||||
|
@ -19,7 +20,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "4.0.9";
|
||||
version = "4.1.1";
|
||||
|
||||
libsecp256k1_name =
|
||||
if stdenv.isLinux then "libsecp256k1.so.0"
|
||||
|
@ -35,7 +36,7 @@ let
|
|||
owner = "spesmilo";
|
||||
repo = "electrum";
|
||||
rev = version;
|
||||
sha256 = "0cmdyfabllw4wnpqpdxp3l6hjnm0cvkwxn0z8ph4x54sf4zq9iz3";
|
||||
sha256 = "0zvv8nmjzw5pchykz5p28483nby4lp4ah7iqr08pv36gy89l51v5";
|
||||
|
||||
extraPostFetch = ''
|
||||
mv $out ./all
|
||||
|
@ -50,7 +51,7 @@ python3.pkgs.buildPythonApplication {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
|
||||
sha256 = "1fvjiagi78f32nxgr2rx8jas8hxfvpp1c8fpfcalvykmlhdc2gva";
|
||||
sha256 = "0yg6ld92a4xgn7y8i51hmr3kmgmrbrjwniikkmyq9q141h2drb80";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
|
@ -77,10 +78,10 @@ python3.pkgs.buildPythonApplication {
|
|||
requests
|
||||
tlslite-ng
|
||||
# plugins
|
||||
btchip
|
||||
ckcc-protocol
|
||||
keepkey
|
||||
trezor
|
||||
btchip
|
||||
] ++ lib.optionals enableQt [ pyqt5 qdarkstyle ];
|
||||
|
||||
preBuild = ''
|
||||
|
@ -112,7 +113,7 @@ python3.pkgs.buildPythonApplication {
|
|||
wrapQtApp $out/bin/electrum
|
||||
'';
|
||||
|
||||
checkInputs = with python3.pkgs; [ pytestCheckHook pycryptodomex ];
|
||||
checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
|
||||
|
||||
pytestFlagsArray = [ "electrum/tests" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue