evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / dn / dnsmonster / package.nix
blob782bd8518596fdde88b1fdefc8b34aab39a0835c
2   lib,
3   stdenv,
4   buildGoModule,
5   fetchFromGitHub,
6   libpcap,
7 }:
9 buildGoModule rec {
10   pname = "dnsmonster";
11   version = "1.0.0";
13   src = fetchFromGitHub {
14     owner = "mosajjal";
15     repo = "dnsmonster";
16     rev = "refs/tags/v${version}";
17     hash = "sha256-0WHTrqnc3vYQro+nSsQipAPVymR8L4uOwtd9GJHxhVM=";
18   };
20   vendorHash = "sha256-QCG/rhs4Y3lLDVU15cBNUZqbKc4faNAqKMhMOFwK2SY=";
22   buildInputs = [ libpcap ];
24   ldflags = [
25     "-s"
26     "-w"
27     "-X=github.com/mosajjal/dnsmonster/util.releaseVersion=${version}"
28   ];
30   meta = with lib; {
31     description = "Passive DNS Capture and Monitoring Toolkit";
32     homepage = "https://github.com/mosajjal/dnsmonster";
33     changelog = "https://github.com/mosajjal/dnsmonster/releases/tag/v${version}";
34     license = licenses.gpl2Only;
35     maintainers = with maintainers; [ fab ];
36     broken = stdenv.hostPlatform.isDarwin;
37     mainProgram = "dnsmonster";
38   };