This commit is contained in:
mjallen18
2026-03-04 13:43:18 -06:00
parent 5f79421d9e
commit d17d096a97
6 changed files with 487 additions and 150 deletions

View File

@@ -21,6 +21,8 @@ let
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources selected;
# cargoHash is stored alongside the source in version.json so the TUI can update it
cargoHash = selected.sources.librepods.cargoHash;
in
rustPlatform.buildRustPackage rec {
pname = "librepods";
@@ -30,7 +32,7 @@ rustPlatform.buildRustPackage rec {
sourceRoot = "${src.name}/linux-rust";
cargoHash = "sha256-Ebqx+UU2tdygvqvDGjBSxbkmPnkR47/yL3sCVWo54CU=";
inherit cargoHash;
nativeBuildInputs = [
pkg-config

View File

@@ -5,7 +5,9 @@
"fetcher": "git",
"url": "https://github.com/kavishdevar/librepods",
"rev": "c852b726deb5344ea3637332722a7c93f3858d60",
"hash": "sha256-RoOkINI+ahepAbgwdkcl1iI9XGI/gYXWiH0J9Eb90pg="
"hash": "sha256-RoOkINI+ahepAbgwdkcl1iI9XGI/gYXWiH0J9Eb90pg=",
"cargoHash": "sha256-Ebqx+UU2tdygvqvDGjBSxbkmPnkR47/yL3sCVWo54CU=",
"cargoSubdir": "linux-rust"
}
}
}