pdnsgrep: init at 1.1.2 (#486875)
This commit is contained in:
@@ -23268,6 +23268,12 @@
|
||||
githubId = 12877905;
|
||||
name = "Roman Volosatovs";
|
||||
};
|
||||
rwxd = {
|
||||
email = "git@rwxd.de";
|
||||
github = "rwxd";
|
||||
githubId = 40308458;
|
||||
name = "rwxd";
|
||||
};
|
||||
rxiao = {
|
||||
email = "ben.xiao@me.com";
|
||||
github = "benxiao";
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "pdnsgrep";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "akquinet";
|
||||
repo = "pdnsgrep";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-NFJkLYOHBUYRVehT0VBIFPagLiR8cVvVkAnqCwVUqYg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-kbX3oTg2OGr4Gj9MEXa2Z7AlYIyv6LNIY4mR06F6OvQ=";
|
||||
proxyVendor = true;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Search tool for PowerDNS logs";
|
||||
homepage = "https://github.com/akquinet/pdnsgrep";
|
||||
changelog = "https://github.com/akquinet/pdnsgrep/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ rwxd ];
|
||||
mainProgram = "pdnsgrep";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user