2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "katana";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "1.0.5";
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "projectdiscovery";
|
2024-01-13 08:15:51 +00:00
|
|
|
repo = "katana";
|
2023-03-27 19:17:25 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-phxJhrZaJ+gw7gZWwQK0pvWWxkS4UDi77s+qgTvS/fo=";
|
2022-11-21 17:40:18 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
vendorHash = "sha256-go+6NOQOnmds7EuA5k076Qdib2CqGthH9BHOm0YYKaA=";
|
2022-11-21 17:40:18 +00:00
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
subPackages = [
|
|
|
|
"cmd/katana"
|
|
|
|
];
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
];
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|