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