bulk versions.json
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
11
packages/librepods-beta/version.json
Normal file
11
packages/librepods-beta/version.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"sources": {
|
||||
"librepods": {
|
||||
"fetcher": "git",
|
||||
"url": "https://github.com/kavishdevar/librepods",
|
||||
"rev": "c852b726deb5344ea3637332722a7c93f3858d60",
|
||||
"hash": "sha256-RoOkINI+ahepAbgwdkcl1iI9XGI/gYXWiH0J9Eb90pg="
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"repo": "https://github.com/kavishdevar/librepods",
|
||||
"rev": "c852b726deb5344ea3637332722a7c93f3858d60",
|
||||
"hash": "sha256-RoOkINI+ahepAbgwdkcl1iI9XGI/gYXWiH0J9Eb90pg="
|
||||
}
|
||||
Reference in New Issue
Block a user