versions
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user