nixpkgs/pkgs/by-name/ka/katana/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
792 B
Nix
Raw Normal View History

2022-11-12 12:53:06 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "katana";
2024-10-28 15:19:12 +00:00
version = "1.1.1";
2022-11-12 12:53:06 +00:00
src = fetchFromGitHub {
owner = "projectdiscovery";
2024-01-12 09:50:01 +00:00
repo = "katana";
2023-03-26 14:50:10 +00:00
rev = "refs/tags/v${version}";
2024-10-28 15:19:12 +00:00
hash = "sha256-iE2dqm5ZNAULpEou/OuZ9yKS8xAzBZTkqwnwaoiREpo=";
2022-11-12 12:53:06 +00:00
};
2024-10-28 15:19:12 +00:00
vendorHash = "sha256-scg8EFKP98vGQPwc3ytGZPYu8D4Re7b/BlvlBCJuSPQ=";
2022-11-12 12:53:06 +00:00
2024-01-12 09:50:01 +00:00
subPackages = [
"cmd/katana"
];
ldflags = [
"-w"
"-s"
];
2022-11-12 12:53:06 +00:00
meta = with lib; {
description = "Next-generation crawling and spidering framework";
mainProgram = "katana";
2022-11-12 12:53:06 +00:00
homepage = "https://github.com/projectdiscovery/katana";
2023-03-26 14:50:10 +00:00
changelog = "https://github.com/projectdiscovery/katana/releases/tag/v${version}";
2022-11-12 12:53:06 +00:00
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
};
}