about summary refs log tree commit diff
path: root/pkgs/by-name/he/hednsextractor/package.nix
blob: 8f8fb9f4f605520e508ebf1dfff3fdce46cea01d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "hednsextractor";
  version = "1.0.7";

  src = fetchFromGitHub {
    owner = "HuntDownProject";
    repo = "HEDnsExtractor";
    rev = "refs/tags/v${version}";
    hash = "sha256-Uj5TNQ+X0+ip1DcLanMmFzr5ROuXhuZJSPF9tile+ZQ=";
  };

  vendorHash = "sha256-8yD/yHSqesyS71YeRBv4ARyXyIbTcan7YjBeKBrg0Vc=";

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

  meta = with lib; {
    description = "Tool suite for hunting suspicious targets, expose domains and phishing discovery";
    homepage = "https://github.com/HuntDownProject/HEDnsExtractor";
    changelog = "https://github.com/HuntDownProject/HEDnsExtractor/releases/tag/v${version}";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ fab ];
    mainProgram = "hednsextractor";
  };
}