nixpkgs/pkgs/by-name/dn/dnsdiag/package.nix
Fabian Affolter a6ce630fd7 dnsdiag: init at 2.5.0
DNS Measurement, Troubleshooting and Security Auditing Toolset

https://github.com/farrokhi/dnsdiag
2024-10-18 01:10:09 +02:00

41 lines
879 B
Nix

{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "dnsdiag";
version = "2.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "farrokhi";
repo = "dnsdiag";
rev = "refs/tags/v${version}";
hash = "sha256-qUbHwbLPDyy24GNu3dDJQKV3B71q1ODNMyRFIWwyRuo=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
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";
};
}