fluxcd: 2.3.0 -> 2.4.0

Release: https://github.com/fluxcd/flux2/releases/tag/v2.4.0
This commit is contained in:
superherointj 2024-10-01 08:24:03 -03:00
parent edfec4fee3
commit b1332733d4

View File

@ -8,9 +8,10 @@
}: }:
let let
version = "2.3.0"; version = "2.4.0";
hash = "sha256-ZQs1rWI31qDo/BgjrmiNnEdR2OL8bUHVz+j5VceEp2k="; hash = "sha256-b4mu/iijfALBm+7OIdKgZs55fR6xWfPgL6OMOgIOi3w=";
manifestsSha256 = "sha256-PdhR+UDquIJWtpSymtT6V7qO5fVJOkFz6RGzAx7xeb4="; vendorHash = "sha256-rVyirt6+D1qedbTvPZjLog16sMAq+zyFUmbjnJIieRg=";
manifestsSha256 = "sha256-85Ykc6B+DP9PVqwGbvqsQCUHpx/IzIP9TgOt3id7P5g=";
manifests = fetchzip { manifests = fetchzip {
url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"; url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz";
@ -21,7 +22,7 @@ in
buildGoModule rec { buildGoModule rec {
pname = "fluxcd"; pname = "fluxcd";
inherit version; inherit vendorHash version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fluxcd"; owner = "fluxcd";
@ -30,8 +31,6 @@ buildGoModule rec {
inherit hash; inherit hash;
}; };
vendorHash = "sha256-0YH3pgFrsnh5jIsZpj/sIgfiOCTtIlPltMS5mdGz1eM=";
postUnpack = '' postUnpack = ''
cp -r ${manifests} source/cmd/flux/manifests cp -r ${manifests} source/cmd/flux/manifests