blob: b884428cf8b737cb74f89c5afc0c61b5e2031c3d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
{ 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
|