revive: 1.2.5 -> 1.3.0

This commit is contained in:
R. Ryantm 2023-03-16 01:03:38 +00:00
parent ac718d0286
commit 512ba8cd0c

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "revive";
version = "1.2.5";
version = "1.3.0";
src = fetchFromGitHub {
owner = "mgechev";
repo = pname;
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
# can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true;
@ -18,7 +18,7 @@ buildGoModule rec {
rm -rf $out/.git
'';
};
vendorHash = "sha256-IfayKnHCe1HHSi7YPNz8Wlz1TSAiVGs0rxpY9HYG3s8=";
vendorHash = "sha256-FHm4TjsAYu4VM2WAHdd2xPP3/54YM6ei6cppHWF8LDc=";
ldflags = [
"-s"
@ -35,7 +35,7 @@ buildGoModule rec {
# 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: TestTimeEqual (0.00s)