nixpkgs/pkgs/tools/security/gau/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

31 lines
675 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "gau";
version = "2.2.1";
src = fetchFromGitHub {
owner = "lc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AtKakeQnxRbFAbK/aQ4OQoEowN753jm4P4M57Oo3x1Y=";
};
vendorHash = "sha256-nhsGhuX5AJMHg+zQUt1G1TwVgMCxnuJ2T3uBrx7bJNs=";
meta = with lib; {
description = "Tool to fetch known URLs";
mainProgram = "gau";
longDescription = ''
getallurls (gau) fetches known URLs from various sources for any
given domain.
'';
homepage = "https://github.com/lc/gau";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}