From 7b04ee0f8a7c789f14897fcda3f5c2477350bf39 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 29 Apr 2023 11:20:24 +0000 Subject: [PATCH 1/2] httpx: 1.2.9 -> 1.3.0 --- pkgs/tools/security/httpx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/httpx/default.nix b/pkgs/tools/security/httpx/default.nix index f6585e2d2022..674477524406 100644 --- a/pkgs/tools/security/httpx/default.nix +++ b/pkgs/tools/security/httpx/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "httpx"; - version = "1.2.9"; + version = "1.3.0"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "httpx"; rev = "refs/tags/v${version}"; - hash = "sha256-H9M4ZOQ/34GSDBYOqfzgJD/kz/PruLZn4NIKBdUJ370="; + hash = "sha256-u4nftveDvwco5sZa21z4MHf/5F+M0cQUGffueeJpyL4="; }; - vendorHash = "sha256-wQBLB5gASLOIDU7MMtex0TxYixfGBRnng5yCrr3TgjE="; + vendorHash = "sha256-i/Fvuy9wzXot114BI0rIbLWDW70VEaDKGThTcTZLx1M="; # Tests require network access doCheck = false; From e4cb5734053a737efae5f5edef9fac4a8e8c0848 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 29 Apr 2023 11:21:00 +0000 Subject: [PATCH 2/2] httpx: do not build testing packages --- pkgs/tools/security/httpx/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/security/httpx/default.nix b/pkgs/tools/security/httpx/default.nix index 674477524406..420806038774 100644 --- a/pkgs/tools/security/httpx/default.nix +++ b/pkgs/tools/security/httpx/default.nix @@ -16,6 +16,10 @@ buildGoModule rec { vendorHash = "sha256-i/Fvuy9wzXot114BI0rIbLWDW70VEaDKGThTcTZLx1M="; + subPackages = [ "cmd/httpx" ]; + + ldflags = [ "-s" "-w" ]; + # Tests require network access doCheck = false;