Commit 10f9f789 authored by lucasew's avatar lucasew
Browse files

bodyclose: add update script



Signed-off-by: default avatarlucasew <lucas59356@gmail.com>
parent 25778548
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
, unstableGitUpdater
}:

buildGoModule rec {
buildGoModule {
  pname = "bodyclose";
  version = "2023-04-21";

@@ -18,6 +19,8 @@ buildGoModule rec {

  ldflags = [ "-s" "-w" ];

  passthru.updateScript = unstableGitUpdater {};

  meta = with lib; {
    description = "Golang linter to check whether HTTP response body is closed and a re-use of TCP connection is not blocked";
    mainProgram = "bodyclose";