From 1bf9803a7dc2772d92f9eafbdd41fd5e986adf76 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Apr 2024 23:57:37 +0200 Subject: [PATCH 1/2] nuclei: 3.2.2 -> 3.2.3 Diff: https://github.com/projectdiscovery/nuclei/compare/refs/tags/v3.2.2...v3.2.3 Changelog: https://github.com/projectdiscovery/nuclei/releases/tag/v3.2.3 --- pkgs/tools/security/nuclei/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/nuclei/default.nix b/pkgs/tools/security/nuclei/default.nix index a89bb3cbf62e..5b5b05bed4ef 100644 --- a/pkgs/tools/security/nuclei/default.nix +++ b/pkgs/tools/security/nuclei/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "nuclei"; - version = "3.2.2"; + version = "3.2.3"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "nuclei"; rev = "refs/tags/v${version}"; - hash = "sha256-eYFHKXB6TSCLPMKiXvuSpt/2B+rbn7VZqoGEHp2vito="; + hash = "sha256-rcFgSblSXQUGu58cLbjGtvVfEa3AJUwkYEcrizqJTwM="; }; - vendorHash = "sha256-s0hspa3fKMHmFPPwB0tCDJoGEH2JpgFUaIbiSQJTtr0="; + vendorHash = "sha256-Ttv25D7GAFjbP25AcRfKPu4wT3SMroAAf3px48IWZLA="; subPackages = [ "cmd/nuclei/" From 8fbac90417a1f06ca1862d5ebe17f3326ad17d30 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Apr 2024 23:58:07 +0200 Subject: [PATCH 2/2] nuclei: use nixfmt --- pkgs/tools/security/nuclei/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/security/nuclei/default.nix b/pkgs/tools/security/nuclei/default.nix index 5b5b05bed4ef..5e183e44ebab 100644 --- a/pkgs/tools/security/nuclei/default.nix +++ b/pkgs/tools/security/nuclei/default.nix @@ -1,6 +1,7 @@ -{ lib -, buildGoModule -, fetchFromGitHub +{ + lib, + buildGoModule, + fetchFromGitHub, }: buildGoModule rec { @@ -16,9 +17,7 @@ buildGoModule rec { vendorHash = "sha256-Ttv25D7GAFjbP25AcRfKPu4wT3SMroAAf3px48IWZLA="; - subPackages = [ - "cmd/nuclei/" - ]; + subPackages = [ "cmd/nuclei/" ]; ldflags = [ "-w" @@ -40,7 +39,10 @@ buildGoModule rec { homepage = "https://github.com/projectdiscovery/nuclei"; changelog = "https://github.com/projectdiscovery/nuclei/releases/tag/v${version}"; license = licenses.mit; - maintainers = with maintainers; [ fab Misaka13514 ]; + maintainers = with maintainers; [ + fab + Misaka13514 + ]; mainProgram = "nuclei"; }; }