bulk versions.json
This commit is contained in:
@@ -20,10 +20,36 @@ let
|
||||
# ######################################################
|
||||
# Source Versions #
|
||||
# ######################################################
|
||||
mainVersions = importJSON ./versions.json;
|
||||
ltsVersions = importJSON ./versions-lts.json;
|
||||
rcVersions = importJSON ./versions-rc.json;
|
||||
hardenedVersions = importJSON ./versions-hardened.json;
|
||||
versionSpec = importJSON ./version.json;
|
||||
versioning = import ../../lib/versioning.nix { inherit lib pkgs; };
|
||||
mkVersions = selected:
|
||||
let
|
||||
s = selected.sources;
|
||||
vars = selected.variables or {};
|
||||
in
|
||||
{
|
||||
suffix = vars.suffix or "";
|
||||
linux = {
|
||||
inherit (s.linux) version hash;
|
||||
};
|
||||
config = {
|
||||
rev = s.config.rev;
|
||||
hash = s.config.hash;
|
||||
};
|
||||
patches = {
|
||||
rev = s.patches.rev;
|
||||
hash = s.patches.hash;
|
||||
};
|
||||
zfs = {
|
||||
rev = s.zfs.rev;
|
||||
hash = s.zfs.hash;
|
||||
};
|
||||
};
|
||||
|
||||
mainVersions = mkVersions (versioning.selectVariant versionSpec null null);
|
||||
ltsVersions = mkVersions (versioning.selectVariant versionSpec "lts" null);
|
||||
rcVersions = mkVersions (versioning.selectVariant versionSpec "rc" null);
|
||||
hardenedVersions = mkVersions (versioning.selectVariant versionSpec "hardened" null);
|
||||
|
||||
# ######################################################
|
||||
# Base LTO Config #
|
||||
|
||||
70
packages/linux-cachyos/version.json
Normal file
70
packages/linux-cachyos/version.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"variables": {
|
||||
"suffix": "-cachyos"
|
||||
},
|
||||
"sources": {
|
||||
"linux": {
|
||||
"fetcher": "none",
|
||||
"version": "6.18.6",
|
||||
"hash": "sha256-RySXGXsvaNTb8bwyzG3GacoiD/TA6w3Dmpz/moj5oxs="
|
||||
},
|
||||
"config": {
|
||||
"fetcher": "github",
|
||||
"owner": "CachyOS",
|
||||
"repo": "linux-cachyos",
|
||||
"rev": "fb8c750d869dde6aad11c04c1b2cd311d24bde2c",
|
||||
"hash": "sha256-svJgugxjC5d7fpPkP2AbzcuiKnUXnI0uzlyq2mjXQFA="
|
||||
},
|
||||
"patches": {
|
||||
"fetcher": "github",
|
||||
"owner": "CachyOS",
|
||||
"repo": "kernel-patches",
|
||||
"rev": "cec2d1841baae411313742083ef2bc0b29855b4d",
|
||||
"hash": "sha256-VV0AMYlSIVYbJNzKymnGGSlBcPoahMxeASbVi+fTtHo="
|
||||
},
|
||||
"zfs": {
|
||||
"fetcher": "git",
|
||||
"url": "https://github.com/cachyos/zfs.git",
|
||||
"rev": "743334913e5a5f60baf287bcc6d8a23515b02ac5",
|
||||
"hash": "sha256-v78Tn1Im9h8Sjd4XACYesPOD+hlUR3Cmg8XjcJXOuwM="
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"lts": {
|
||||
"sources": {
|
||||
"linux": {
|
||||
"version": "6.12.66",
|
||||
"hash": "sha256-ujiXocBgsFoDy03abyDYx15vc8iLIXdEgjqRUFZTbq8="
|
||||
}
|
||||
}
|
||||
},
|
||||
"rc": {
|
||||
"sources": {
|
||||
"linux": {
|
||||
"version": "6.19-rc6",
|
||||
"hash": "sha256-tF+ApUubv/UucqXudLQDKw7j5rjYZ/odxgInfexCQDQ="
|
||||
},
|
||||
"zfs": {
|
||||
"rev": "540cd8029042327a37fd2a3614f8e623cbb87a22",
|
||||
"hash": "sha256-KaN24a1nXwOoHahglRWSypqxlE5jMuuZVIOVd1CDrqQ="
|
||||
}
|
||||
}
|
||||
},
|
||||
"hardened": {
|
||||
"sources": {
|
||||
"linux": {
|
||||
"version": "6.17.13",
|
||||
"hash": "sha256-EWgC3DrRZGFjzG/+m926JKgGm1aRNewFI815kGTy7bk="
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"notes": {
|
||||
"suffix": "Matches `Add-extra-version-CachyOS.patch`",
|
||||
"linux": "pkgver from config's PKGBUILD",
|
||||
"config": "latest commit from https://github.com/CachyOS/linux-cachyos/commits/master/linux-cachyos",
|
||||
"patches": "latest commit from https://github.com/CachyOS/kernel-patches/commits/master/x.y",
|
||||
"zfs": "search for `git+https://github.com/cachyos/zfs.git` in config's PKGBUILD"
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"suffix": "-cachyos",
|
||||
"linux": {
|
||||
"version": "6.17.13",
|
||||
"hash": "sha256-EWgC3DrRZGFjzG/+m926JKgGm1aRNewFI815kGTy7bk="
|
||||
},
|
||||
"config": {
|
||||
"rev": "fb8c750d869dde6aad11c04c1b2cd311d24bde2c",
|
||||
"hash": "sha256-svJgugxjC5d7fpPkP2AbzcuiKnUXnI0uzlyq2mjXQFA="
|
||||
},
|
||||
"patches": {
|
||||
"rev": "cec2d1841baae411313742083ef2bc0b29855b4d",
|
||||
"hash": "sha256-VV0AMYlSIVYbJNzKymnGGSlBcPoahMxeASbVi+fTtHo="
|
||||
},
|
||||
"zfs": {
|
||||
"rev": "743334913e5a5f60baf287bcc6d8a23515b02ac5",
|
||||
"hash": "sha256-VV0AMYlSIVYbJNzKymnGGSlBcPoahMxeASbVi+fTtHo="
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"suffix": "-cachyos",
|
||||
"linux": {
|
||||
"version": "6.12.66",
|
||||
"hash": "sha256-ujiXocBgsFoDy03abyDYx15vc8iLIXdEgjqRUFZTbq8="
|
||||
},
|
||||
"config": {
|
||||
"rev": "fb8c750d869dde6aad11c04c1b2cd311d24bde2c",
|
||||
"hash": "sha256-svJgugxjC5d7fpPkP2AbzcuiKnUXnI0uzlyq2mjXQFA="
|
||||
},
|
||||
"patches": {
|
||||
"rev": "cec2d1841baae411313742083ef2bc0b29855b4d",
|
||||
"hash": "sha256-VV0AMYlSIVYbJNzKymnGGSlBcPoahMxeASbVi+fTtHo="
|
||||
},
|
||||
"zfs": {
|
||||
"rev": "743334913e5a5f60baf287bcc6d8a23515b02ac5",
|
||||
"hash": "sha256-v78Tn1Im9h8Sjd4XACYesPOD+hlUR3Cmg8XjcJXOuwM="
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"suffix": "-cachyos",
|
||||
"linux": {
|
||||
"version": "6.19-rc6",
|
||||
"hash": "sha256-tF+ApUubv/UucqXudLQDKw7j5rjYZ/odxgInfexCQDQ="
|
||||
},
|
||||
"config": {
|
||||
"rev": "fb8c750d869dde6aad11c04c1b2cd311d24bde2c",
|
||||
"hash": "sha256-svJgugxjC5d7fpPkP2AbzcuiKnUXnI0uzlyq2mjXQFA="
|
||||
},
|
||||
"patches": {
|
||||
"rev": "cec2d1841baae411313742083ef2bc0b29855b4d",
|
||||
"hash": "sha256-VV0AMYlSIVYbJNzKymnGGSlBcPoahMxeASbVi+fTtHo="
|
||||
},
|
||||
"zfs": {
|
||||
"rev": "540cd8029042327a37fd2a3614f8e623cbb87a22",
|
||||
"hash": "sha256-KaN24a1nXwOoHahglRWSypqxlE5jMuuZVIOVd1CDrqQ="
|
||||
}
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"_suffix": "Matches `Add-extra-version-CachyOS.patch`",
|
||||
"suffix": "-cachyos",
|
||||
"_linux": "pkgver from config's PKGBUILD",
|
||||
"linux": {
|
||||
"version": "6.18.6",
|
||||
"hash": "sha256-RySXGXsvaNTb8bwyzG3GacoiD/TA6w3Dmpz/moj5oxs="
|
||||
},
|
||||
"_config": "latest commit from https://github.com/CachyOS/linux-cachyos/commits/master/linux-cachyos",
|
||||
"config": {
|
||||
"rev": "fb8c750d869dde6aad11c04c1b2cd311d24bde2c",
|
||||
"hash": "sha256-svJgugxjC5d7fpPkP2AbzcuiKnUXnI0uzlyq2mjXQFA="
|
||||
},
|
||||
"_patches": "latest commit from https://github.com/CachyOS/kernel-patches/commits/master/x.y",
|
||||
"patches": {
|
||||
"rev": "cec2d1841baae411313742083ef2bc0b29855b4d",
|
||||
"hash": "sha256-VV0AMYlSIVYbJNzKymnGGSlBcPoahMxeASbVi+fTtHo="
|
||||
},
|
||||
"_zfs": "search for `git+https://github.com/cachyos/zfs.git` in config's PKGBUILD",
|
||||
"zfs": {
|
||||
"rev": "743334913e5a5f60baf287bcc6d8a23515b02ac5",
|
||||
"hash": "sha256-v78Tn1Im9h8Sjd4XACYesPOD+hlUR3Cmg8XjcJXOuwM="
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user