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