blob: 07637d13e9f25b398f2fc8a04ae75840ccbc47ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
let
infoJson = builtins.fromJSON (builtins.readFile ./info.json);
in
{ lib, callPackage }:
let
mkElectron = callPackage ./generic.nix { };
in
lib.mapAttrs' (majorVersion: info:
lib.nameValuePair
"electron_${majorVersion}-bin"
(mkElectron info.version info.hashes)
) infoJson
|