Merge pull request #161505 from 06kellyjac/scorecard

scorecard: 4.0.1 -> 4.1.0
This commit is contained in:
Renaud 2022-02-27 20:50:07 +01:00 committed by GitHub
commit 10c0ea6970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "scorecard";
version = "4.0.1";
version = "4.1.0";
src = fetchFromGitHub {
owner = "ossf";
repo = pname;
rev = "v${version}";
sha256 = "sha256-xZBK2gIIxuvO2fuSYyWitO1xT8ItfBVqt2JRJoyH+gg=";
sha256 = "sha256-QOWQhuEEnwtHmQwl5WCCHcKMjwhgxn9xerR0Bxi3660=";
# populate values otherwise taken care of by goreleaser,
# unfortunately these require us to use git. By doing
# this in postFetch we can delete .git afterwards and
@ -27,7 +27,7 @@ buildGoModule rec {
find "$out" -name .git -print0 | xargs -0 rm -rf
'';
};
vendorSha256 = "sha256-NSV7mDn1efQAO4jm6bJm12ExDFTN76TkmD4r61V6D2Q=";
vendorSha256 = "sha256-AFadBzkRj0D1MXLHzexvomJ0cqirhW82tnNRGx/gChI=";
# Install completions post-install
nativeBuildInputs = [ installShellFiles ];
@ -48,6 +48,8 @@ buildGoModule rec {
getGoDirs() {
go list ./... | grep -v e2e
}
# Ensure other e2e tests that have escaped the e2e dir dont run
export SKIP_GINKGO=1
'';
postInstall = ''