dnspyre: init at 3.3.1
This commit is contained in:
parent
d1d7e15dbf
commit
369cc8e26c
2 changed files with 31 additions and 0 deletions
|
@ -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
30
pkgs/dnspyre/default.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue