5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
11 lines
283 B
Nix
11 lines
283 B
Nix
{ lib, callPackage }:
|
|
|
|
let
|
|
mkElectron = callPackage ./generic.nix { };
|
|
infoJson = builtins.fromJSON (builtins.readFile ./info.json);
|
|
in
|
|
lib.mapAttrs' (majorVersion: info:
|
|
lib.nameValuePair
|
|
"electron_${majorVersion}-bin"
|
|
(mkElectron info.version info.hashes)
|
|
) infoJson
|