Merge pull request #233303 from figsoda/httpref

httpref: init at 1.6.1
This commit is contained in:
Nick Cao 2023-05-21 23:37:44 -06:00 committed by GitHub
commit 17edb3ecfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "httpref";
version = "1.6.1";
src = fetchFromGitHub {
owner = "dnnrly";
repo = "httpref";
rev = "v${version}";
hash = "sha256-T5fR9cyqsM6Kw6kFqZedoSxyvFkkxNpuErscwiUTMa0=";
};
vendorHash = "sha256-9Ei4Lfll79f/+iuO5KesUMaTgkS9nq+1tma/dhOZ7Qw=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Command line, offline, access to HTTP status code, common header, and port references";
homepage = "https://github.com/dnnrly/httpref";
changelog = "https://github.com/dnnrly/httpref/releases/tag/${src.rev}";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -21052,6 +21052,8 @@ with pkgs;
http-parser = callPackage ../development/libraries/http-parser { };
httpref = callPackage ../development/tools/misc/httpref { };
hubble = callPackage ../applications/networking/cluster/hubble { };
hunspell = callPackage ../development/libraries/hunspell { };