Unverified Commit 177a0b7d authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #230314 from r-ryantm/auto-update/cloud-nuke

cloud-nuke: 0.29.7 -> 0.30.0
parents d74a0e89 7af8cd7d
Loading
Loading
Loading
Loading
+15 −7
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub }:
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "cloud-nuke";
  version = "0.29.7";
  version = "0.30.0";

  src = fetchFromGitHub {
    owner = "gruntwork-io";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-JIMEmXZVPXDR8t+ECaV5OqThHiW2CUn2BrIvM+uxSMI=";
    rev = "refs/tags/v${version}";
    hash = "sha256-H6W30OrkeMJGEIcNLAcdxWOz4bUXlklMCAgW4WkOAZ8=";
  };

  vendorHash = "sha256-i+AzDEydK+mUvOb6LivuyaCqHaqIdPkE46nxvf7mLTw=";
  vendorHash = "sha256-4RVblG4Y+KLRYJ7iPbrcbwKQ3tz2WSZQyUrqCLeamgo=";

  ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ];
  ldflags = [
    "-s"
    "-w"
    "-X=main.VERSION=${version}"
  ];

  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/gruntwork-io/cloud-nuke";
    description = "A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it";
    changelog = "https://github.com/gruntwork-io/cloud-nuke/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = [ maintainers.marsam ];
    maintainers = with maintainers; [ marsam ];
  };
}