3
0
Fork 0
forked from mirrors/nixpkgs

electrum: use callPackage

This commit is contained in:
Sandro Jäckel 2022-12-15 22:59:09 +01:00 committed by Sandro Jäckel
parent 670f5fd185
commit 0d6fc19cdf
No known key found for this signature in database
GPG key ID: B1763F8651144063

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