bodyclose: add update script

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew 2024-05-16 13:17:09 -03:00
parent 25778548a8
commit 10f9f78975

View File

@ -1,9 +1,10 @@
{ 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";