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";