depot/third_party/nixpkgs/pkgs/by-name/go/go-dnscollector/package.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 ];
};
}