Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 76 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ lib, buildPythonPackage, cryptography, dnspython, expiringdict, fetchFromGitHub, hatchling, pem, publicsuffixlist, pyleri, pyopenssl, pytestCheckHook, pythonOlder, requests, timeout-decorator, xmltodict,}:
buildPythonPackage rec { pname = "checkdmarc"; version = "5.8.1"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "domainaware"; repo = "checkdmarc"; tag = version; hash = "sha256-mdEfVfqK277A8QUc8rpLxS2pfdyg4Z5XqWpWkh9mFLk="; };
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 ]; };}