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

14 lines
311 B
Nix

{ 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