python312Packages.checkdmarc: 5.5.0 -> 5.7.8 (#359986)

This commit is contained in:
Nick Cao 2024-11-29 08:55:19 -05:00 committed by GitHub
commit ad52fb854b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,17 +6,20 @@
expiringdict,
fetchFromGitHub,
hatchling,
pem,
publicsuffixlist,
pyleri,
pyopenssl,
pytestCheckHook,
pythonOlder,
requests,
timeout-decorator,
xmltodict,
}:
buildPythonPackage rec {
pname = "checkdmarc";
version = "5.5.0";
version = "5.7.8";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -25,19 +28,24 @@ buildPythonPackage rec {
owner = "domainaware";
repo = "checkdmarc";
rev = "refs/tags/${version}";
hash = "sha256-skQqLWBEmfyiW2DsRRbj3Lfj52QZca0zKenFC7LltjM=";
hash = "sha256-fqSRqiakwFk1Cfb79oOEBbPF/fbtumuV7M6Mjl09Vmw=";
};
nativeBuildInputs = [ hatchling ];
pythonRelaxDeps = [ "xmltodict" ];
propagatedBuildInputs = [
build-system = [ hatchling ];
dependencies = [
cryptography
dnspython
expiringdict
pem
publicsuffixlist
pyleri
pyopenssl
requests
timeout-decorator
xmltodict
];
nativeCheckInputs = [ pytestCheckHook ];
@ -48,6 +56,7 @@ buildPythonPackage rec {
disabledTests = [
# Tests require network access
"testBIMI"
"testDMARCPctLessThan100Warning"
"testSPFMissingARecord"
"testSPFMissingMXRecord"