go-modules: Update files to use vendorSha256
This commit is contained in:
committed by
Jörg Thalheim
parent
a0ddea1d6a
commit
d6162dab50
@@ -10,7 +10,7 @@ buildGoModule rec {
|
||||
sha256 = "04dyibcaijv5011laycf39m4gvprvvsn5zkxslyih1kqd170w3wg";
|
||||
};
|
||||
|
||||
modSha256 = "1d3hjfmfmlpw2scfyn597zkzz864w97p0wrsxjp49m9mi0pgmhq9";
|
||||
vendorSha256 = "0jlraq480llamns6yw8yjkzxsndyqiyzy120djni8sw5h0bz65j7";
|
||||
subPackages = [ "." ];
|
||||
|
||||
# set the version. see: aws-vault's Makefile
|
||||
@@ -26,4 +26,4 @@ buildGoModule rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,15 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchurl, 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";
|
||||
};
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudetc";
|
||||
repo = pname;
|
||||
@@ -11,7 +17,7 @@ buildGoModule rec {
|
||||
sha256 = "1ybrrpnp6rh7rcwihww43cvhfhzzyy51rdk1hwy9ljpkg37k4y28";
|
||||
};
|
||||
|
||||
modSha256 = "07zz6wf9cq3wylihi9fx0rd85iybnq5z5c9gqw1lhpvqcrad4491";
|
||||
vendorSha256 = "0hnpb1xp135z2qpn1b6xad59739hffhs8dfpr3n5drmrvajpn4xp";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to clean out your AWS account";
|
||||
|
||||
@@ -11,7 +11,7 @@ buildGoModule rec {
|
||||
sha256 = "0y393g36h35zzqyf5b10j6qq2jhvz83j17cmasnv6wbyrb3vnn0n";
|
||||
};
|
||||
|
||||
modSha256 = "0m2bqx102lf6nihdjbl8a08xcwi80rawvh91j1cav0njm9w5vmmm";
|
||||
vendorSha256 = null;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool for managing secrets on Google Cloud";
|
||||
@@ -19,4 +19,4 @@ buildGoModule rec {
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ buildGoModule rec {
|
||||
sha256 = "0siwbxxzknmbsjy23d0lvh591ngabqhr2g8mip0siwa7c1y7ivv4";
|
||||
};
|
||||
|
||||
modSha256 = "1i5n5yh6nvv2i2nm60vqy1gngj8p5w6ma5fcwmp7bl4jxjrzbi83";
|
||||
vendorSha256 = "1l6ajfl04rfbssvijgd5jrppmqc5svfrswdx01x007lr8rvdfd94";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A utility to examine and validate certificates in a variety of formats";
|
||||
@@ -19,4 +19,4 @@ buildGoModule rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ buildGoModule rec {
|
||||
sha256 = "14dh9iv2g138rivvfk135m3l90kk6c1ln1iqxhbi7s99h1jixbqw";
|
||||
};
|
||||
|
||||
modSha256 = "0rgkrid58kji39nlmiii95r8shbzr6dwalj5m7qwxy5w1rcaljr5";
|
||||
vendorSha256 = "0x31n50vd8660z816as6kms5dkv87b0mhblccpkvd9cbvcv2n37a";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -26,4 +26,4 @@ buildGoModule rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ buildGoModule rec {
|
||||
sha256 = "0xlr7hsncih4nzydi6sphp7j7k82cbhmi7jb0sd954i8kzl3sc1q";
|
||||
};
|
||||
|
||||
modSha256 = "0iw5za1fc9hsbc3fhhj3l276064vfdjqsad9c3c54y7b9rjgcqrv";
|
||||
vendorSha256 = "14d9hl01z7ixp1wa8kp1zs0z1p3pvz6hkp49z582nqllpb2xjmkx";
|
||||
|
||||
subPackages = [ "cmd/eksctl" ];
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ buildGoModule rec {
|
||||
sha256 = "1fypc6yjnhlpk7zhb2lvah2ikh2zji9sll55rqjbr3i4j02h484z";
|
||||
};
|
||||
|
||||
modSha256 = "0akak573zvz3xg5d7vf0ch2mrmj1jkzcdc29v3kn43f7944c2wcl";
|
||||
vendorSha256 = "0c4g1zr0wl118g41hqri0vwvfin39yvgs214w3spw8ggjcj6bzph";
|
||||
|
||||
buildFlagsArray = [''-ldflags=
|
||||
-X main.Version=v${version} -s -w
|
||||
@@ -25,4 +25,4 @@ buildGoModule rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ suvash ];
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ buildGoModule rec {
|
||||
hash = "sha256-hjH1TBw6GHYNI9JSBOzdyEtJmp8NhlwNYydGZwsjAg0=";
|
||||
};
|
||||
|
||||
modSha256 = "sha256-+PJRaDdZqVO6D9SXojlr8JXn++pL18HOHFdaiUEalw8=";
|
||||
vendorSha256 = "14453iiya6algkympyvwm03qgjcwk79z8bbrij7qhnp52qfrbmrp";
|
||||
subPackages = [ "cmd/lego" ];
|
||||
|
||||
buildFlagsArray = [
|
||||
|
||||
Reference in New Issue
Block a user