From 42077426dadc785db85b2053978ecc33044bd68e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 20 May 2024 01:08:53 +0000 Subject: [PATCH 1/2] httpx: 1.6.0 -> 1.6.1 --- 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 80a7404be002..35fdf0cfbc5d 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.6.0"; + version = "1.6.1"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "httpx"; rev = "refs/tags/v${version}"; - hash = "sha256-q8R3X1U2Dma0A9WRWIFPSRQHndNJFE2YdfMyPEM6dr8="; + hash = "sha256-LW5zJqJqUD5v50OZuPqMYefrcIsjEIr7a4rogveiLA0="; }; - vendorHash = "sha256-M7oxM0hMaOT78CxbSGyYk0nhGJC8dLWAlzi/b//EiHw="; + vendorHash = "sha256-A82eMV9MegJt3wAkK0YbyMQqt7zlX01DmZ2z3YIGrQ8="; subPackages = [ "cmd/httpx" From bb6a7baa6a19d8ca7bb14a8cffaf0a863c5cce04 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 May 2024 08:05:07 +0200 Subject: [PATCH 2/2] httpx: format with nixfmt --- pkgs/tools/security/httpx/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/security/httpx/default.nix b/pkgs/tools/security/httpx/default.nix index 35fdf0cfbc5d..a0a6c0e9e9e2 100644 --- a/pkgs/tools/security/httpx/default.nix +++ b/pkgs/tools/security/httpx/default.nix @@ -1,6 +1,7 @@ -{ buildGoModule -, fetchFromGitHub -, lib +{ + lib, + buildGoModule, + fetchFromGitHub, }: buildGoModule rec { @@ -16,9 +17,7 @@ buildGoModule rec { vendorHash = "sha256-A82eMV9MegJt3wAkK0YbyMQqt7zlX01DmZ2z3YIGrQ8="; - subPackages = [ - "cmd/httpx" - ]; + subPackages = [ "cmd/httpx" ]; ldflags = [ "-s" @@ -30,7 +29,6 @@ buildGoModule rec { meta = with lib; { description = "Fast and multi-purpose HTTP toolkit"; - mainProgram = "httpx"; longDescription = '' httpx is a fast and multi-purpose HTTP toolkit allow to run multiple probers using retryablehttp library, it is designed to maintain the @@ -40,5 +38,6 @@ buildGoModule rec { changelog = "https://github.com/projectdiscovery/httpx/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "httpx"; }; }