From f04d46aca992a15c7f3707d9bce8258c431ccf9b Mon Sep 17 00:00:00 2001 From: Mostly Void <7rat13@gmail.com> Date: Sat, 12 Nov 2022 18:23:06 +0530 Subject: [PATCH] katana: init at 0.0.2 --- pkgs/tools/security/katana/default.nix | 29 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/tools/security/katana/default.nix diff --git a/pkgs/tools/security/katana/default.nix b/pkgs/tools/security/katana/default.nix new file mode 100644 index 000000000000..54657f534fc2 --- /dev/null +++ b/pkgs/tools/security/katana/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "katana"; + version = "0.0.2"; + + src = fetchFromGitHub { + owner = "projectdiscovery"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-8OpBxv++AjKNitHqB6y8hN8LlkFBvyzooJZPWhHd28w="; + }; + + vendorSha256 = "sha256-jc8OcImVOmN/iYbcYQJ9Z2cYaNAVVdn9nKWBSuyh2HQ="; + + CGO_ENABLED = 0; + + subPackages = [ "cmd/katana" ]; + + meta = with lib; { + description = "A next-generation crawling and spidering framework"; + homepage = "https://github.com/projectdiscovery/katana"; + license = licenses.mit; + maintainers = with maintainers; [ dit7ya ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bff284bfc225..5b97dc7a0c57 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8314,6 +8314,8 @@ with pkgs; kakoune-cr = callPackage ../tools/misc/kakoune-cr { }; + katana = callPackage ../tools/security/katana { }; + kbdd = callPackage ../applications/window-managers/kbdd { }; kbs2 = callPackage ../tools/security/kbs2 {