depot/third_party/nixpkgs/pkgs/tools/security/katana/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
792 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "katana";
version = "1.1.0";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "katana";
rev = "refs/tags/v${version}";
hash = "sha256-upqsQQlrDRRcLMAe7nI86Sc2y3hNpELEeM5Im4XfLl8=";
};
vendorHash = "sha256-OehyKcO8AwQ8D+KeMg9T/0/T9wSuzdkVVfbginlQJro=";
subPackages = [
"cmd/katana"
];
ldflags = [
"-w"
"-s"
];
meta = with lib; {
description = "Next-generation crawling and spidering framework";
mainProgram = "katana";
homepage = "https://github.com/projectdiscovery/katana";
changelog = "https://github.com/projectdiscovery/katana/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
};
}