Merge pull request #221409 from r-ryantm/auto-update/revive

revive: 1.2.5 -> 1.3.0
This commit is contained in:
Weijia Wang 2023-03-16 18:12:54 +02:00 committed by GitHub
commit a9e7f497da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "revive"; pname = "revive";
version = "1.2.5"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mgechev"; owner = "mgechev";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-pWX3dZqZ9UZ/k8c1K0xAgonsxZVrutWJ1PROQusO9vQ="; sha256 = "sha256-J+LAv0cLG+ucvOywLhaL/LObMO4tPUcLEv+dItHcPBI=";
# populate values that require us to use git. By doing this in postFetch we # populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src. # can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true; leaveDotGit = true;
@ -18,7 +18,7 @@ buildGoModule rec {
rm -rf $out/.git rm -rf $out/.git
''; '';
}; };
vendorHash = "sha256-IfayKnHCe1HHSi7YPNz8Wlz1TSAiVGs0rxpY9HYG3s8="; vendorHash = "sha256-FHm4TjsAYu4VM2WAHdd2xPP3/54YM6ei6cppHWF8LDc=";
ldflags = [ ldflags = [
"-s" "-s"
@ -35,7 +35,7 @@ buildGoModule rec {
# The following tests fail when built by nix: # The following tests fail when built by nix:
# #
# $ nix log /nix/store/build-revive.1.2.5.drv | grep FAIL # $ nix log /nix/store/build-revive.1.3.0.drv | grep FAIL
# #
# --- FAIL: TestAll (0.01s) # --- FAIL: TestAll (0.01s)
# --- FAIL: TestTimeEqual (0.00s) # --- FAIL: TestTimeEqual (0.00s)