gau: refactor
This commit is contained in:
parent
377899940e
commit
a057cca665
@ -1,6 +1,6 @@
|
||||
{ buildGoModule
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -9,16 +9,20 @@ buildGoModule rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lc";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-1sF33uat6nwtTaXbZzO8YF4jewyQJ6HvI2l/zyTrJsg=";
|
||||
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 +30,6 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/lc/gau";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "gau";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user