gitlab-ci-local: 4.60.1 -> 4.61.1

Updates gitlab-ci-local.
Removed the patch because upstream replaced re2 with re2js.
This commit is contained in:
Shogo Takata
2025-09-01 04:58:12 +09:00
parent 1da640cb03
commit 6d64dacf9e
+3 -26
View File
@@ -12,16 +12,16 @@
buildNpmPackage rec {
pname = "gitlab-ci-local";
version = "4.60.1";
version = "4.61.1";
src = fetchFromGitHub {
owner = "firecow";
repo = "gitlab-ci-local";
rev = version;
hash = "sha256-6v5iyQCP+3bJdG9uvPAsMaJ7mW2xj1kMhn8h2eLsl28=";
hash = "sha256-zHYUe5fAjK34zCjTYkg4pvvjRsaeuCyu7Gelcqki8P0=";
};
npmDepsHash = "sha256-P09uxOtlY9AAJyKLTdnFOfw0H6V4trr2hznEonOO58E=";
npmDepsHash = "sha256-eLT2ejLOtEI7eqWikBc/wFrStCuvYHvlZk9JiMPfuUI=";
nativeBuildInputs = [
makeBinaryWrapper
@@ -34,29 +34,6 @@ buildNpmPackage rec {
'';
postInstall = ''
NODE_MODULES=$out/lib/node_modules/gitlab-ci-local/node_modules
# Remove intermediate build files for re2 to reduce dependencies.
#
# This does not affect the behavior. On npm `re2` does not ship
# the build directory and downloads a prebuilt version of the
# `re2.node` binary. This method produces the same result.
find $NODE_MODULES/re2/build -type f ! -path "*/Release/re2.node" -delete
strip -x $NODE_MODULES/re2/build/Release/re2.node
# Remove files that depend on python3
#
# The node-gyp package is only used for building re2, so it is
# not needed at runtime. I did not remove the whole directory
# because of some dangling links to the node-gyp directory which
# is not required. It is possible to remove the directory and all
# the files that link to it, but I figured it was not worth
# tracking down the files.
#
# The re2/vendor directory is used for building the re2.node
# binary, so it is not needed at runtime.
rm -rf $NODE_MODULES/{node-gyp/gyp,re2/vendor}
wrapProgram $out/bin/gitlab-ci-local \
--prefix PATH : "${
lib.makeBinPath [