Commit b1332733 authored by superherointj's avatar superherointj
Browse files

fluxcd: 2.3.0 -> 2.4.0

parent edfec4fe
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -8,9 +8,10 @@
}:

let
  version = "2.3.0";
  hash = "sha256-ZQs1rWI31qDo/BgjrmiNnEdR2OL8bUHVz+j5VceEp2k=";
  manifestsSha256 = "sha256-PdhR+UDquIJWtpSymtT6V7qO5fVJOkFz6RGzAx7xeb4=";
  version = "2.4.0";
  hash = "sha256-b4mu/iijfALBm+7OIdKgZs55fR6xWfPgL6OMOgIOi3w=";
  vendorHash = "sha256-rVyirt6+D1qedbTvPZjLog16sMAq+zyFUmbjnJIieRg=";
  manifestsSha256 = "sha256-85Ykc6B+DP9PVqwGbvqsQCUHpx/IzIP9TgOt3id7P5g=";

  manifests = fetchzip {
    url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz";
@@ -21,7 +22,7 @@ in

buildGoModule rec {
  pname = "fluxcd";
  inherit version;
  inherit vendorHash version;

  src = fetchFromGitHub {
    owner = "fluxcd";
@@ -30,8 +31,6 @@ buildGoModule rec {
    inherit hash;
  };

  vendorHash = "sha256-0YH3pgFrsnh5jIsZpj/sIgfiOCTtIlPltMS5mdGz1eM=";

  postUnpack = ''
    cp -r ${manifests} source/cmd/flux/manifests