{ lib, buildGoModule, fetchFromGitHub, }: buildGoModule rec { pname = "go-dnscollector"; version = "1.2.0"; src = fetchFromGitHub { owner = "dmachard"; repo = "go-dnscollector"; rev = "v${version}"; sha256 = "sha256-at5tTJAmBypdCDCnqRY9zCjMxWD80Ry1bDZZkJeKzGY="; }; vendorHash = "sha256-AqG1CkGVq95S5BFWeB3O7sjvtC09UjzWVfWkB0nxYFg="; 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 ]; }; }