invidious: 2.20250913.0 -> 2.20260207.0 (#488355)
This commit is contained in:
@@ -51,6 +51,7 @@ crystal.buildCrystalPackage rec {
|
||||
# This always uses the latest commit which invalidates the cache even if
|
||||
# the assets were not changed
|
||||
assetCommitTemplate = ''{{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit -- assets`.strip}" }}'';
|
||||
tagTemplate = ''{{ "#{`git tag --points-at HEAD`.strip}" }}'';
|
||||
|
||||
inherit (versions.invidious) commit date;
|
||||
in
|
||||
@@ -63,7 +64,8 @@ crystal.buildCrystalPackage rec {
|
||||
--replace-fail ${lib.escapeShellArg branchTemplate} '"master"' \
|
||||
--replace-fail ${lib.escapeShellArg commitTemplate} '"${commit}"' \
|
||||
--replace-fail ${lib.escapeShellArg versionTemplate} '"${date}"' \
|
||||
--replace-fail ${lib.escapeShellArg assetCommitTemplate} '"${commit}"'
|
||||
--replace-fail ${lib.escapeShellArg assetCommitTemplate} '"${commit}"' \
|
||||
--replace-fail ${lib.escapeShellArg tagTemplate} '"v${version}"'
|
||||
|
||||
# Patch the assets and locales paths to be absolute
|
||||
substituteInPlace src/invidious.cr \
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"invidious": {
|
||||
"hash": "sha256-tVytYxFcHnGhI5mdZhZk9NBp++8q9PGdYbl8H6j7dAE=",
|
||||
"version": "2.20250913.0",
|
||||
"date": "2025.09.13",
|
||||
"commit": "cf019e3b"
|
||||
"hash": "sha256-tACx4+HqouftDalZlrurS75gYvS02qnmxQoL91YfTjg=",
|
||||
"version": "2.20260207.0",
|
||||
"date": "2026.02.07",
|
||||
"commit": "118d6356"
|
||||
},
|
||||
"videojs": {
|
||||
"hash": "sha256-jED3zsDkPN8i6GhBBJwnsHujbuwlHdsVpVqa1/pzSH4="
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user