mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
13 lines
318 B
Nix
13 lines
318 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
|