Commit 6b79257c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.checkdmarc: modernize

parent 5f947e60
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -21,9 +21,7 @@
buildPythonPackage rec {
  pname = "checkdmarc";
  version = "5.10.12";
  format = "pyproject";

  disabled = pythonOlder "3.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "domainaware";
@@ -32,7 +30,10 @@ buildPythonPackage rec {
    hash = "sha256-XbBdBef3+kt26XP5GDH5rgHYGh8xIjHUUVOcdeVICLs=";
  };

  pythonRelaxDeps = [ "xmltodict" ];
  pythonRelaxDeps = [
    "cryptography"
    "xmltodict"
  ];

  build-system = [ hatchling ];

@@ -69,10 +70,10 @@ buildPythonPackage rec {

  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 ];
    mainProgram = "checkdmarc";
  };
}