bulk versions.json

This commit is contained in:
mjallen18
2026-01-21 12:53:13 -06:00
parent 7cc4e8c99e
commit 2b9908e760
52 changed files with 1033 additions and 335 deletions

View File

@@ -19,11 +19,14 @@
}@pkgs:
let
defaultVersion = "2025.07";
defaultSrc = fetchurl {
url = "https://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2";
hash = "sha256-D5M/bFpCaJW/MG6T5qxTxghw5LVM2lbZUhG+yZ5jvsc=";
};
inherit (lib.trivial) importJSON;
versionSpec = importJSON ./version.json;
versioning = import ../../lib/versioning.nix { inherit lib pkgs; };
selected = versioning.selectVariant versionSpec null null;
sources = versioning.mkAllSources selected;
defaultVersion = selected.variables.version;
defaultSrc = sources.uboot;
# Dependencies for the tools need to be included as either native or cross,
# depending on which we're building