bodyclose: add update script

Signed-off-by: lucasew <lucas59356@gmail.com>

lucasew 10f9f789 25778548

+4 -1
+4 -1
pkgs/development/tools/bodyclose/default.nix
··· 1 1 { lib 2 2 , buildGoModule 3 3 , fetchFromGitHub 4 + , unstableGitUpdater 4 5 }: 5 6 6 - buildGoModule rec { 7 + buildGoModule { 7 8 pname = "bodyclose"; 8 9 version = "2023-04-21"; 9 10 ··· 17 18 vendorHash = "sha256-TSYaY7Rg0ZoXdIN1sTNmgjC4PcVcgwSTuE43FYbzlAs="; 18 19 19 20 ldflags = [ "-s" "-w" ]; 21 + 22 + passthru.updateScript = unstableGitUpdater {}; 20 23 21 24 meta = with lib; { 22 25 description = "Golang linter to check whether HTTP response body is closed and a re-use of TCP connection is not blocked";