2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "katana";
|
2023-03-27 19:17:25 +00:00
|
|
|
version = "1.0.0";
|
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}";
|
|
|
|
hash = "sha256-OSvkQIpZEMav1dh3DDTqFxoFbc6sWOjhslqVJcUS104=";
|
2022-11-21 17:40:18 +00:00
|
|
|
};
|
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
vendorHash = "sha256-u/3MMuq2Zab6k+vPQ0iKQf8k9zMV2aIgIsTee0VUQaI=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|