Merge pull request #326263 from katexochen/distribution/3-beta

distribution: 3.0.0-alpha.1 -> 3.0.0-beta.1
This commit is contained in:
Aleksana 2024-07-16 00:06:42 +08:00 committed by GitHub
commit ccb1f96597
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,38 +1,23 @@
{ lib
, buildGoModule
, fetchFromGitHub
, fetchpatch
, nix-update-script
, testers
, distribution
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
testers,
distribution,
}:
buildGoModule rec {
pname = "distribution";
version = "3.0.0-alpha.1";
version = "3.0.0-beta.1";
src = fetchFromGitHub {
owner = "distribution";
repo = "distribution";
rev = "v${version}";
hash = "sha256-reguAtBkEC9OMUTdCtFY6l0fkk28VoA0IlPcQ0sz84I=";
hash = "sha256-tiTwrcRtOEIs1sCkzHXY1TPYw0TOdDvM2Y8YdgQjEmI=";
};
patches = [
# fix: load gcs credentials and client inside DriverConstructor
# Needed to pass the tests. Remove with next update.
(fetchpatch {
url = "https://github.com/distribution/distribution/commit/14366a2dff6a8f595e39d258085381731b43cec6.diff";
hash = "sha256-0ns9JuIeLBzRLMVxY6uaWTIYcRRbuwQ+n9tmK+Pvf4U=";
})
# fix: add missing skip in s3 driver test
# Needed to pass the tests. Remove with next update.
(fetchpatch {
url = "https://github.com/distribution/distribution/commit/6908e0d5facd31ed32046df03a09040c964be0b3.patch";
hash = "sha256-ww+BwBGw+dkZ2FhVzynehR+sNYCgq8/KkPDP9ac6NWg=";
})
];
vendorHash = null;
checkFlags = [