Merge pull request #214212 from SuperSandro2000/electrum-cleanuop

electrum: use callPackage
This commit is contained in:
Weijia Wang 2023-02-02 22:23:30 +01:00 committed by GitHub
commit 6462686d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";