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

@@ -14,21 +14,20 @@
expat,
fontconfig,
freetype,
pkgs,
}:
let
inherit (lib.trivial) importJSON;
versions = importJSON ./versions.json;
versionSpec = importJSON ./version.json;
versioning = import ../../lib/versioning.nix { inherit lib pkgs; };
selected = versioning.selectVariant versionSpec null null;
sources = versioning.mkAllSources selected;
in
rustPlatform.buildRustPackage rec {
pname = "librepods";
version = "0.1.0";
src = fetchFromGitHub {
owner = "kavishdevar";
repo = "librepods";
rev = versions.rev;
hash = versions.hash;
};
src = sources.librepods;
sourceRoot = "${src.name}/linux-rust";

View File

@@ -0,0 +1,11 @@
{
"schemaVersion": 1,
"sources": {
"librepods": {
"fetcher": "git",
"url": "https://github.com/kavishdevar/librepods",
"rev": "c852b726deb5344ea3637332722a7c93f3858d60",
"hash": "sha256-RoOkINI+ahepAbgwdkcl1iI9XGI/gYXWiH0J9Eb90pg="
}
}
}

View File

@@ -1,5 +0,0 @@
{
"repo": "https://github.com/kavishdevar/librepods",
"rev": "c852b726deb5344ea3637332722a7c93f3858d60",
"hash": "sha256-RoOkINI+ahepAbgwdkcl1iI9XGI/gYXWiH0J9Eb90pg="
}