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.

36 lines
791 B
Nix
Raw Normal View History

{
lib,
buildGoModule,
fetchFromGitHub,
2022-11-12 12:53:06 +00:00
}:
buildGoModule rec {
pname = "katana";
version = "1.1.2";
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}";
hash = "sha256-cRzLJcX7U9jhKMYnpOyo8S8hN6cIeUYFElcmOqbv0GY=";
2022-11-12 12:53:06 +00:00
};
vendorHash = "sha256-NaPVrgFbw77kxl2sw1nHhqr1ePn5TYhS2rS0et7qJKs=";
2022-11-12 12:53:06 +00:00
subPackages = [ "cmd/katana" ];
2024-01-12 09:50:01 +00:00
ldflags = [
"-w"
"-s"
];
2022-11-12 12:53:06 +00:00
meta = with lib; {
description = "Next-generation crawling and spidering framework";
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 ];
mainProgram = "katana";
2022-11-12 12:53:06 +00:00
};
}