Files
nixpkgs/pkgs/development/python-modules/checkdmarc/default.nix
T
Martin Weinelt a2bca54c47 python3Packages.checkdmarc: 5.8.1 -> 5.8.6
https://github.com/domainaware/checkdmarc/blob/5.8.6/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2025-08-09 18:58:49 +02:00

77 lines
1.5 KiB
Nix

{
lib,
buildPythonPackage,
cryptography,
dnspython,
expiringdict,
fetchFromGitHub,
hatchling,
pem,
publicsuffixlist,
pyleri,
pyopenssl,
pytestCheckHook,
pythonOlder,
requests,
timeout-decorator,
xmltodict,
}:
buildPythonPackage rec {
pname = "checkdmarc";
version = "5.8.6";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "domainaware";
repo = "checkdmarc";
tag = version;
hash = "sha256-MlHRBedBbcFbVga5q0havdD6M/YOlFW8SX0k1tRngmc=";
};
pythonRelaxDeps = [ "xmltodict" ];
build-system = [ hatchling ];
dependencies = [
cryptography
dnspython
expiringdict
pem
publicsuffixlist
pyleri
pyopenssl
requests
timeout-decorator
xmltodict
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "checkdmarc" ];
enabledTestPaths = [ "tests.py" ];
disabledTests = [
# Tests require network access
"testBIMI"
"testDMARCPctLessThan100Warning"
"testSPFMissingARecord"
"testSPFMissingMXRecord"
"testSplitSPFRecord"
"testTooManySPFDNSLookups"
"testTooManySPFVoidDNSLookups"
];
meta = with lib; {
description = "Parser for SPF and DMARC DNS records";
mainProgram = "checkdmarc";
homepage = "https://github.com/domainaware/checkdmarc";
changelog = "https://github.com/domainaware/checkdmarc/blob/${src.tag}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}