dnspyre: init at 3.3.1

This commit is contained in:
Erwin Boskma 2024-07-03 11:29:57 +02:00
parent d1d7e15dbf
commit 369cc8e26c
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk
2 changed files with 31 additions and 0 deletions

View file

@ -270,6 +270,7 @@
packages = {
coredns = pkgs.callPackage ./pkgs/coredns { };
dnspyre = pkgs.callPackage ./pkgs/dnspyre { };
git-repo-go = pkgs.callPackage ./pkgs/git-repo-go { };
gitu = pkgs.callPackage ./pkgs/gitu { };
headscale-ui = pkgs.callPackage ./pkgs/headscale-ui { };

30
pkgs/dnspyre/default.nix Normal file
View file

@ -0,0 +1,30 @@
{
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";
};
}