Unverified Commit 017f5f04 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #255118 from aaronjheng/s5

s5: use sri hash
parents a6a728a9 68d76f78
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -8,16 +8,17 @@ buildGoModule rec {
    owner = "mvisonneau";
    repo = pname;
    rev = "v${version}";
    sha256 = "003l4v7d671rvw7q32fxhxv3qazw6v8v9ch7hmyy9lvwkc7x6dlm";
    hash = "sha256-lTbTD5t80+R9hQeytNE2/Cs8dofdiYEP3zkc084mdAA=";
  };

  vendorHash = "sha256-TrCIUeY0B+BsWNaUkDTEgrEaWfJKnID2mafj3ink+i8=";

  subPackages = [ "cmd/${pname}" ];

  ldflags = [
    "-X main.version=v${version}"
  ];

  vendorSha256 = "TrCIUeY0B+BsWNaUkDTEgrEaWfJKnID2mafj3ink+i8=";
  doCheck = true;

  meta = with lib; {