Unverified Commit 421c9083 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #311821 from r-ryantm/auto-update/gau

gau: 2.2.1 -> 2.2.3
parents 20a92c06 0fa7e069
Loading
Loading
Loading
Loading
+14 −8
Original line number Diff line number Diff line
{ buildGoModule
, fetchFromGitHub
, lib
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "gau";
  version = "2.2.1";
  version = "2.2.3";

  src = fetchFromGitHub {
    owner = "lc";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-AtKakeQnxRbFAbK/aQ4OQoEowN753jm4P4M57Oo3x1Y=";
    repo = "gau";
    rev = "refs/tags/v${version}";
    hash = "sha256-1sF33uat6nwtTaXbZzO8YF4jewyQJ6HvI2l/zyTrJsg=";
  };

  vendorHash = "sha256-nhsGhuX5AJMHg+zQUt1G1TwVgMCxnuJ2T3uBrx7bJNs=";

  ldflags = [
    "-w"
    "-s"
  ];

  meta = with lib; {
    description = "Tool to fetch known URLs";
    mainProgram = "gau";
    longDescription = ''
      getallurls (gau) fetches known URLs from various sources for any
      given domain.
@@ -26,5 +31,6 @@ buildGoModule rec {
    homepage = "https://github.com/lc/gau";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    mainProgram = "gau";
  };
}