electrum: use callPackage

This commit is contained in:
Sandro Jäckel
2023-02-02 17:27:36 +01:00
committed by Sandro Jäckel
parent 670f5fd185
commit 0d6fc19cdf
+2 -24
View File
@@ -7,16 +7,7 @@
, zbar
, secp256k1
, enableQt ? true
# for updater.nix
, writeScript
, common-updater-scripts
, bash
, coreutils
, curl
, gnugrep
, gnupg
, gnused
, nix
, callPackage
}:
let
@@ -125,20 +116,7 @@ python3.pkgs.buildPythonApplication {
$out/bin/electrum help >/dev/null
'';
passthru.updateScript = import ./update.nix {
inherit lib;
inherit
writeScript
common-updater-scripts
bash
coreutils
curl
gnupg
gnugrep
gnused
nix
;
};
passthru.updateScript = callPackage ./update.nix { };
meta = with lib; {
description = "Lightweight Bitcoin wallet";