3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #103772 from marsam/update-awsweeper

awsweeper: 0.7.0 -> 0.10.2
This commit is contained in:
Mario Rodas 2020-11-14 05:18:17 -05:00 committed by GitHub
commit 4386281bf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,29 +1,25 @@
{ lib, buildGoModule, fetchurl, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "awsweeper";
version = "0.7.0";
# Requires go generate to be run with mockgen, but doesn't check in the results.
patches = fetchurl {
url = "https://raw.githubusercontent.com/c00w/patches/master/awskeeper.patch";
sha256 = "0dz553ffxc37m2iwygrbhxf7pm91hxdriic8a1gjf8q3nyn13npl";
};
version = "0.10.2";
src = fetchFromGitHub {
owner = "cloudetc";
owner = "jckuester";
repo = pname;
rev = "v${version}";
sha256 = "1ybrrpnp6rh7rcwihww43cvhfhzzyy51rdk1hwy9ljpkg37k4y28";
sha256 = "1ln4s04n1qd1wv88ahhvvvphlxf6c9krqz9lmbcx3n67sb8xngm5";
};
vendorSha256 = "0hnpb1xp135z2qpn1b6xad59739hffhs8dfpr3n5drmrvajpn4xp";
vendorSha256 = "0zlhb84fmrnwq71d0h83p28aqlfclcydndl0z2j9nx2skjlxax2i";
buildFlagsArray = [ "-ldflags=-s -w -X github.com/jckuester/awsweeper/internal.version=${version} -X github.com/jckuester/awsweeper/internal.commit=${src.rev} -X github.com/jckuester/awsweeper/internal.date=unknown" ];
doCheck = false;
meta = with lib; {
description = "A tool to clean out your AWS account";
homepage = "https://github.com/cloudetc/awsweeper/";
homepage = "https://github.com/jckuester/awsweeper";
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};