build(glimpse): update package snapshot
This commit is contained in:
@@ -88,7 +88,7 @@ show_main_head() {
|
|||||||
line=$(git ls-remote "$url" "refs/heads/$branch" 2>/dev/null | head -1)
|
line=$(git ls-remote "$url" "refs/heads/$branch" 2>/dev/null | head -1)
|
||||||
if [[ -n "$line" ]]; then
|
if [[ -n "$line" ]]; then
|
||||||
local full_rev="${line%% *}"
|
local full_rev="${line%% *}"
|
||||||
echo " main: ${full_rev:0:12}"
|
echo " main: $full_rev"
|
||||||
echo
|
echo
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
@@ -120,13 +120,13 @@ cmd_releases() {
|
|||||||
| grep -v '\^{}' \
|
| grep -v '\^{}' \
|
||||||
| sed -E 's/^[a-f0-9]+[[:space:]]+refs\/tags\/([^\/]+)[[:space:]]*$/\1/' \
|
| sed -E 's/^[a-f0-9]+[[:space:]]+refs\/tags\/([^\/]+)[[:space:]]*$/\1/' \
|
||||||
| sort -V \
|
| sort -V \
|
||||||
| tail -5)
|
| tail -5 || true)
|
||||||
else
|
else
|
||||||
tags=$(git ls-remote --tags "$url" 2>&1 \
|
tags=$(git ls-remote --tags "$url" 2>&1 \
|
||||||
| grep -v '\^{}' \
|
| grep -v '\^{}' \
|
||||||
| sed -E 's/^[a-f0-9]+[[:space:]]+refs\/tags\/([^\/]+)[[:space:]]*$/\1/' \
|
| sed -E 's/^[a-f0-9]+[[:space:]]+refs\/tags\/([^\/]+)[[:space:]]*$/\1/' \
|
||||||
| sort -V \
|
| sort -V \
|
||||||
| tail -5)
|
| tail -5 || true)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$tags" ]]; then
|
if [[ -z "$tags" ]]; then
|
||||||
@@ -135,13 +135,13 @@ cmd_releases() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
printf " %-30s %s\n" "TAG" "COMMIT"
|
printf " %-30s %s\n" "TAG" "COMMIT"
|
||||||
echo " $(printf '%.0s-' {1..45})"
|
echo " $(printf '%.0s-' {1..72})"
|
||||||
|
|
||||||
echo "$tags" | tac | while IFS= read -r tag_name; do
|
echo "$tags" | tac | while IFS= read -r tag_name; do
|
||||||
local full_rev
|
local full_rev
|
||||||
full_rev=$(git ls-remote "$url" "refs/tags/$tag_name" 2>/dev/null | head -1 | cut -f1)
|
full_rev=$(git ls-remote "$url" "refs/tags/$tag_name" 2>/dev/null | head -1 | cut -f1)
|
||||||
if [[ -n "$full_rev" ]]; then
|
if [[ -n "$full_rev" ]]; then
|
||||||
printf " %-30s %s\n" "$tag_name" "${full_rev:0:12}"
|
printf " %-30s %s\n" "$tag_name" "$full_rev"
|
||||||
else
|
else
|
||||||
printf " %-30s %s\n" "$tag_name" "(not found)"
|
printf " %-30s %s\n" "$tag_name" "(not found)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -9,17 +9,17 @@
|
|||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
pname = "glimpse";
|
pname = "glimpse";
|
||||||
version = "unstable-2026-04-26";
|
version = "unstable-2026-04-27";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://gitea.va.reichard.io/evan/glimpse.git";
|
url = "https://gitea.va.reichard.io/evan/glimpse.git";
|
||||||
rev = "2f83fa311720a5b68f8a98bbcd2ae9b1563d6a47";
|
rev = "6b3ec32b3ab7a82eb937cc850d217413ec752483";
|
||||||
hash = "sha256-ODbqzBWiN0Z81KDPUbJB1/DPy/iM2rAaUmzqtAgp9QI=";
|
hash = "sha256-o4SPiZqsARwDmVpybcYMjyGRdAfDxMTuldWblbMpoCQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-IWzSvrGgkoR6gg7P1m/mwakGOOKmm2OFtBirKgE09Ds=";
|
npmDepsHash = "sha256-ycAjPZZqI3ZMIUubJbWy8G6X6LaXDcgdZGswikfkQj8=";
|
||||||
|
|
||||||
dontNpmBuild = true;
|
npmBuildScript = "build";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user