Unverified Commit 6462686d authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #214212 from SuperSandro2000/electrum-cleanuop

electrum: use callPackage
parents 4d0b7546 0d6fc19c
Loading
Loading
Loading
Loading
+2 −24
Original line number Diff line number Diff line
@@ -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";