Merge pull request #231990 from meain/bodyclose

bodyclose: init at 2023-04-21
This commit is contained in:
figsoda 2023-05-15 10:50:19 -04:00 committed by GitHub
commit 7780f8c3cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "bodyclose";
version = "2023-04-21";
src = fetchFromGitHub {
owner = "timakin";
repo = "bodyclose";
rev = "574207250966ef48b7c65325648b17ff2c3a900a";
hash = "sha256-qUt8uOk1vgj2rtzTevGh9c4McxbFKgEw83pq7IAlRdg=";
};
vendorHash = "sha256-TSYaY7Rg0ZoXdIN1sTNmgjC4PcVcgwSTuE43FYbzlAs=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Golang linter to check whether HTTP response body is closed and a re-use of TCP connection is not blocked";
homepage = "https://github.com/timakin/bodyclose";
license = licenses.mit;
maintainers = with maintainers; [ meain ];
};
}

View File

@ -338,6 +338,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
bodyclose = callPackage ../development/tools/bodyclose { };
bootstrap-studio = callPackage ../development/web/bootstrap-studio { };
breakpad = callPackage ../development/misc/breakpad { };