depot/pkgs/by-name/dn/dnsdiag/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

41 lines
891 B
Nix

{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnsdiag";
version = "2.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "farrokhi";
repo = "dnsdiag";
rev = "refs/tags/v${version}";
hash = "sha256-6TDs+ncbVa7LWtGLlqEXJb9zzXZ+nAhbi4QGyCSu3ho=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
aioquic
cryptography
cymruwhois
dnspython
h2
httpx
];
# Project has no tests
doCheck = false;
meta = {
description = "DNS Measurement, Troubleshooting and Security Auditing Toolset";
homepage = "https://github.com/farrokhi/dnsdiag";
changelog = "https://github.com/farrokhi/dnsdiag/releases/tag/v${version}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "dnsdiag";
};
}