mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
bodyclose: add update script
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
parent
25778548a8
commit
10f9f78975
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user