30 lines
694 B
Nix
30 lines
694 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
system,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnspyre";
|
|
version = "3.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Tantalor93";
|
|
repo = "dnspyre";
|
|
rev = "v${version}";
|
|
hash = "sha256-lz175AijiF3GXVV6RqAPI/W5rKKQLNwF80One89l3A4=";
|
|
};
|
|
|
|
vendorHash = "sha256-EfsjJKhZp8Dz1EZz0K8iZ4zjsJxV+O/QXwrDSsx5bzU=";
|
|
|
|
ldflags = [ "-X=github.com/tantalor93/dnspyre/v3/cmd.Version=${version}-${system}" ];
|
|
|
|
meta = with lib; {
|
|
description = "CLI tool for a high QPS DNS benchmark";
|
|
homepage = "https://github.com/Tantalor93/dnspyre";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
mainProgram = "dnspyre";
|
|
};
|
|
}
|