1{
2 recurseIntoAttrs,
3 callPackage,
4 lib,
5}:
6
7# All versions are taken from `version.json` created by `update.py`, and realised with `generic.nix`.
8# The `update.py` is a web scraper script that writes the latest versions into `version.json`.
9
10# The `versions.json` can be automatically updated and committed with a commit summary.
11# To do so, change directory to nixpkgs root, and do:
12# $ nix-shell ./maintainers/scripts/update.nix --argstr package optifinePackages.optifine-latest --argstr commit true
13
14recurseIntoAttrs (
15 lib.mapAttrs (name: value: callPackage ./generic.nix value) (lib.importJSON ./versions.json)
16)