nixpkgs-immich/pkgs/tools/security/go-dork/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
660 B
Nix
Raw Permalink Normal View History

2024-09-17 10:23:40 -06:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "go-dork";
version = "1.0.3";
src = fetchFromGitHub {
owner = "dwisiswant0";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Q7ECwXH9q6qWba2URh3LjMx8g6vPF1DWfKnmXej7ht4=";
};
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 ];
mainProgram = "go-dork";
};
}