2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "katana";
|
2023-08-10 07:59:29 +00:00
|
|
|
version = "1.0.3";
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
|
|
|
repo = pname;
|
2023-03-27 19:17:25 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-08-10 07:59:29 +00:00
|
|
|
hash = "sha256-0OXpA+sa97YjbHhIq3Uj65OWg53PH9y2cY8bjCqC3tQ=";
|
2022-11-21 17:40:18 +00:00
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
vendorHash = "sha256-rb0fNAOP4y2yvJb7FIlAIfXF0uw0eLKgup75f9cwT6U=";
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
|
|
|
|
subPackages = [ "cmd/katana" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A next-generation crawling and spidering framework";
|
|
|
|
homepage = "https://github.com/projectdiscovery/katana";
|
2023-03-27 19:17:25 +00:00
|
|
|
changelog = "https://github.com/projectdiscovery/katana/releases/tag/v${version}";
|
2022-11-21 17:40:18 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
|
|
};
|
|
|
|
}
|