gitlab-container-registry: 4.1.0 -> 4.5.0

https://gitlab.com/gitlab-org/container-registry/-/blob/v4.5.0-gitlab/CHANGELOG.md

Fixes CVE-2024-1495
Fixes CVE-2024-1963
Fixes CVE-2024-4201
Fixes CVE-2024-5469
This commit is contained in:
Yaya
2024-06-13 13:20:20 +02:00
parent 7e9c87c67b
commit e34d62d869
2 changed files with 7 additions and 3 deletions
@@ -4,6 +4,7 @@
, gitlabEnterprise ? false, callPackage, yarn
, fixup-yarn-lock, replace, file, cacert, fetchYarnDeps, makeWrapper, pkg-config
, cargo, rustc, rustPlatform
, icu, zlib, which
}:
let
@@ -49,7 +50,7 @@ let
cp Cargo.lock $out
'';
};
hash = "sha256-7q2xWAsFkXHxkYNzIjPwJRy72xMXF278cpVzqGLt/9Y=";
hash = "sha256-SncgYYnoSaWA4kQWonoXXbSMu1mnwTyhdLXFagqgH+o=";
};
dontBuild = false;
@@ -74,6 +75,9 @@ let
find $out -type f -name .rustc_info.json -delete
'';
};
static_holmes = attrs: {
buildInputs = [ which icu zlib ];
};
};
groups = [
"default" "unicorn" "ed25519" "metrics" "development" "puma" "test" "kerberos"
@@ -2,7 +2,7 @@
buildGoModule rec {
pname = "gitlab-container-registry";
version = "4.1.0";
version = "4.5.0";
rev = "v${version}-gitlab";
# nixpkgs-update: no auto update
@@ -10,7 +10,7 @@ buildGoModule rec {
owner = "gitlab-org";
repo = "container-registry";
inherit rev;
hash = "sha256-t+i9IuBH94PpfriIAaqqWYZHxKJJDOedJ3BQXGEPp0A=";
hash = "sha256-dCDybwIfzC79Mobejz/5XbEMQXkPuO8HejjannA6k/M=";
};
vendorHash = "sha256-sybppXCoTrc196xLBW1+sUg9Y5uA0GAptlJ7RjhzuGc=";