Unverified Commit 4f5c280a authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #261263 from totoroot/update/fluxcd-2.1.2

fluxcd: 2.1.1 -> 2.1.2
parents d26b6de2 3ec56f66
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles, stdenv }:
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, fetchzip
, installShellFiles
}:

let
  version = "2.1.1";
  sha256 = "11g7zkzx28xi81qk00frpxn9qsp4m0pr7m1zm61p2in3i9qxrqjn";
  manifestsSha256 = "1zpw9yh5j9ymhj771ccr7a3zm37h3igcrl0xnzyzzrkg754wdv9s";
  version = "2.1.2";
  sha256 = "1k47wjfyhkfn4v5cpfwfgb8ypcsiaml2cxwbwasis926wda37gzk";
  manifestsSha256 = "1imwvm85p5m9s05vmjvqql2hbkrj4m5cy87212ghybaricklcx6a";

  manifests = fetchzip {
    url =
@@ -23,7 +29,7 @@ in buildGoModule rec {
    inherit sha256;
  };

  vendorHash = "sha256-CQt8GbUUUOLUExysZK2H6YZzMx+pXEroGj30BXAhPRY=";
  vendorHash = "sha256-4srEYBI/Qay9F0JxEIT0HyOtF29V9dzdB1ei4tZYJbs=";

  postUnpack = ''
    cp -r ${manifests} source/cmd/flux/manifests
@@ -65,6 +71,7 @@ in buildGoModule rec {
      updates to configuration when there is new code to deploy.
    '';
    homepage = "https://fluxcd.io";
    downloadPage = "https://github.com/fluxcd/flux2/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ bryanasdev000 jlesquembre ];
    mainProgram = "flux";