nixpkgs/pkgs/tools/security/katana/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

37 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 ];
};
}