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

@@ -4,17 +4,20 @@
fetchFromGitHub,
cmake,
pkg-config,
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 = "libraspberrypi";
version = "unstable-2024-12-23";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = "userland";
rev = "a54a0dbb2b8dcf9bafdddfc9a9374fb51d97e976";
hash = "sha256-Edca6nkykdXKFF5MGq6LeKirMLHTZBCbFWvHTNHMWJ4=";
};
src = sources.userland;
nativeBuildInputs = [
cmake

View File

@@ -0,0 +1,12 @@
{
"schemaVersion": 1,
"sources": {
"userland": {
"fetcher": "github",
"owner": "raspberrypi",
"repo": "userland",
"rev": "a54a0dbb2b8dcf9bafdddfc9a9374fb51d97e976",
"hash": "sha256-Edca6nkykdXKFF5MGq6LeKirMLHTZBCbFWvHTNHMWJ4="
}
}
}