Unverified Commit 0238df39 authored by Sebastián Mancilla's avatar Sebastián Mancilla Committed by GitHub
Browse files

Merge pull request #332297 from r-ryantm/auto-update/zlint

zlint: 3.6.2 -> 3.6.3
parents 81c30d31 a59858e0
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -7,18 +7,18 @@

buildGoModule rec {
  pname = "zlint";
  version = "3.6.2";
  version = "3.6.3";

  src = fetchFromGitHub {
    owner = "zmap";
    repo = "zlint";
    rev = "v${version}";
    hash = "sha256-UwtWYDWbln64nE4KDV+gWIhhdbyvlrs0fM96otnfqfE=";
    rev = "refs/tags/v${version}";
    hash = "sha256-N199sSxe06nm0CInTYAuwRgoq7hN7IQpHz5ERUSpk3M=";
  };

  modRoot = "v3";

  vendorHash = "sha256-LP7I7NY/Am6zWfVSvwJanCFwiLfcHKA3Fb9RIMD76a0=";
  vendorHash = "sha256-RX7B9RyNmEO9grMR9Mqn1jXDH5sgT0QDvdhXgY1HYtQ=";

  postPatch = ''
    # Remove a package which is not declared in go.mod.
@@ -32,7 +32,7 @@ buildGoModule rec {
  ldflags = [
    "-s"
    "-w"
    "-X main.version=${version}"
    "-X=main.version=${version}"
  ];

  passthru.tests.version = testers.testVersion {