about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/zdns/default.nix
blob: 9b0c33f2802e70c7f5715ccd8f8514d66b43e583 (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
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "zdns";
  version = "2023-04-09-unstable";

  src = fetchFromGitHub {
    owner = "zmap";
    repo = pname;
    rev = "ac6c7f30a7f5e11f87779f5275adeed117227cd6";
    hash = "sha256-que2uzIH8GybU6Ekumg/MjgBHSmFCF+T7PWye+25kaY=";
  };

  vendorHash = "sha256-daMPk1TKrUXXqCb4WVkrUIJsBL7uzXLJnxWNbHQ/Im4=";

  meta = with lib; {
    description = "CLI DNS lookup tool";
    homepage = "https://github.com/zmap/zdns";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };
}