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

@@ -6,17 +6,20 @@
fetchFromGitHub,
cmake,
dtc,
pkgs,
}:
let
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;
in
stdenv.mkDerivation (_finalAttrs: {
pname = "raspberrypi-utils";
version = "unstable-2025-12-26";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = "utils";
rev = "230d67ad28e74b17a42064453b2163991cb51a5e";
hash = "sha256-x3E8DwKKCmjxloCRB8djqNwuyrR4rok+JcNgPQ1ZH3Y=";
};
src = sources.utils;
buildInputs = [
dtc # dtmerge depends on libfdt

View File

@@ -0,0 +1,12 @@
{
"schemaVersion": 1,
"sources": {
"utils": {
"fetcher": "github",
"owner": "raspberrypi",
"repo": "utils",
"rev": "230d67ad28e74b17a42064453b2163991cb51a5e",
"hash": "sha256-x3E8DwKKCmjxloCRB8djqNwuyrR4rok+JcNgPQ1ZH3Y="
}
}
}