depot/third_party/nixpkgs/pkgs/development/tools/electron/default.nix

13 lines
318 B
Nix
Raw Normal View History

{ lib, callPackage }:
let
versions = lib.importJSON ./info.json;
in
lib.mapAttrs' (version: info:
lib.nameValuePair "electron_${version}" (
let
electron-unwrapped = callPackage ./common.nix { inherit info; };
in callPackage ./wrapper.nix { inherit electron-unwrapped; }
)
) versions