mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
31 lines
656 B
Nix
31 lines
656 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, libpcap
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnsmon-go";
|
|
version = "unstable-2022-05-13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jonpulsifer";
|
|
repo = pname;
|
|
rev = "ec1d59f1f1314ce310ad4c04d2924e0ebd857f1d";
|
|
hash = "sha256-lAJ2bjs5VLzrHd09eFK4X0V/cCee2QsgdgiKq+y2c10=";
|
|
};
|
|
|
|
vendorHash = "sha256-aiX+NGUsFK0N9vC5baAHHMr28CbF5Xa4WgYLFFLBYTs=";
|
|
|
|
buildInputs = [
|
|
libpcap
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to collect DNS traffic";
|
|
homepage = "https://github.com/jonpulsifer/dnsmon-go";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|