2023-03-04 12:14:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-dork";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "1.0.3";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dwisiswant0";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-Q7ECwXH9q6qWba2URh3LjMx8g6vPF1DWfKnmXej7ht4=";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-6V58RRRPamBMDAf0gg4sQMQkoD5dWauCFtPrwf5EasI=";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Dork scanner";
|
|
|
|
homepage = "https://github.com/dwisiswant0/go-dork";
|
|
|
|
changelog = "https://github.com/dwisiswant0/go-dork/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "go-dork";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
}
|