wgo: 0.5.7 -> 0.5.9 (#380776)
[NixPkgs.git] / pkgs / by-name / ht / httpref / package.nix
blobfb04d45c3d516b704f4debf5e0886bff33872869
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "httpref";
9   version = "1.6.1";
11   src = fetchFromGitHub {
12     owner = "dnnrly";
13     repo = "httpref";
14     rev = "v${version}";
15     hash = "sha256-T5fR9cyqsM6Kw6kFqZedoSxyvFkkxNpuErscwiUTMa0=";
16   };
18   vendorHash = "sha256-9Ei4Lfll79f/+iuO5KesUMaTgkS9nq+1tma/dhOZ7Qw=";
20   ldflags = [
21     "-s"
22     "-w"
23   ];
25   meta = with lib; {
26     description = "Command line, offline, access to HTTP status code, common header, and port references";
27     mainProgram = "httpref";
28     homepage = "https://github.com/dnnrly/httpref";
29     changelog = "https://github.com/dnnrly/httpref/releases/tag/${src.rev}";
30     license = licenses.asl20;
31     maintainers = with maintainers; [ figsoda ];
32   };