mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
4b5728a2aa
* katana: 1.1.1 -> 1.1.2 Diff: https://github.com/projectdiscovery/katana/compare/refs/tags/v1.1.1...v1.1.2 Changelog: https://github.com/projectdiscovery/katana/releases/tag/v1.1.2 * katana: format with nixfmt
36 lines
791 B
Nix
36 lines
791 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "katana";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectdiscovery";
|
|
repo = "katana";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-cRzLJcX7U9jhKMYnpOyo8S8hN6cIeUYFElcmOqbv0GY=";
|
|
};
|
|
|
|
vendorHash = "sha256-NaPVrgFbw77kxl2sw1nHhqr1ePn5TYhS2rS0et7qJKs=";
|
|
|
|
subPackages = [ "cmd/katana" ];
|
|
|
|
ldflags = [
|
|
"-w"
|
|
"-s"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Next-generation crawling and spidering framework";
|
|
homepage = "https://github.com/projectdiscovery/katana";
|
|
changelog = "https://github.com/projectdiscovery/katana/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
mainProgram = "katana";
|
|
};
|
|
}
|