28 lines
700 B
Nix
28 lines
700 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-dnscollector";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dmachard";
|
|
repo = "go-dnscollector";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-+EE9miEm1sHxTHcQ+Zmnj5ljSisKtds9L+SLIvgIfb4=";
|
|
};
|
|
|
|
vendorHash = "sha256-Njv8EGPS45NpCs0+poBxVGWLHhH+mSZuI80kIpsijDQ=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "Ingesting, pipelining, and enhancing your DNS logs with usage indicators, security analysis, and additional metadata.";
|
|
homepage = "https://github.com/dmachard/go-dnscollector";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ shift ];
|
|
};
|
|
}
|