From de89b66ba78d5b5dcf7c06384df2ee8f97c1da44 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 2 Apr 2021 22:26:03 +0200 Subject: [PATCH] electrum: 4.0.9 -> 4.1.1 --- pkgs/applications/misc/electrum/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index edce14d05736..44f35e503ca0 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -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" ];