nixpkgs/pkgs/tools/security/hakrawler/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

30 lines
760 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "hakrawler";
version = "2.1";
src = fetchFromGitHub {
owner = "hakluke";
repo = "hakrawler";
rev = version;
hash = "sha256-ZJG5KlIlzaztG27NoSlILj0I94cm2xZq28qx1ebrSmc=";
};
vendorHash = "sha256-NzgFwPvuEZ2/Ks5dZNRJjzzCNPRGelQP/A6eZltqkmM=";
meta = with lib; {
description = "Web crawler for the discovery of endpoints and assets";
mainProgram = "hakrawler";
homepage = "https://github.com/hakluke/hakrawler";
longDescription = ''
Simple, fast web crawler designed for easy, quick discovery of endpoints
and assets within a web application.
'';
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}