Unverified Commit 27a96b7a authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #264305 from fabaff/parsedmarc-fix

python311Packages.parsedmarc: add missing input
parents fe040f4d 037aa356
Loading
Loading
Loading
Loading
+42 −45
Original line number Diff line number Diff line
{ buildPythonPackage
, fetchPypi
, fetchurl
, lib
, nixosTests
, python
, pythonOlder

# pythonPackages
, hatchling
, dnspython
, expiringdict
, publicsuffix2
, xmltodict
, geoip2
, urllib3
, requests
, imapclient
{ lib
, azure-identity
, boto3
, buildPythonPackage
, dateparser
, mailsuite
, dnspython
, elasticsearch
, elasticsearch-dsl
, kafka-python
, tqdm
, lxml
, boto3
, msgraph-core
, azure-identity
, expiringdict
, fetchPypi
, fetchurl
, geoip2
, google-api-core
, google-api-python-client
, google-auth
, google-auth-httplib2
, google-auth-oauthlib
, hatchling
, imapclient
, kafka-python
, lxml
, mailsuite
, msgraph-core
, nixosTests
, publicsuffixlist
, pythonOlder
, requests
, tqdm
, urllib3
, xmltodict
}:

let
@@ -42,11 +39,10 @@ in
buildPythonPackage rec {
  pname = "parsedmarc";
  version = "8.6.1";
  pyproject = true;

  disabled = pythonOlder "3.7";

  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-lnIhXkBodvLWVeqiwFcnU4M53zwWDmtFz+9TThQY63I=";
@@ -62,32 +58,33 @@ buildPythonPackage rec {
  ];

  propagatedBuildInputs = [
    dnspython
    expiringdict
    publicsuffix2
    xmltodict
    geoip2
    urllib3
    requests
    imapclient
    azure-identity
    boto3
    dateparser
    mailsuite
    dnspython
    elasticsearch
    elasticsearch-dsl
    kafka-python
    tqdm
    lxml
    boto3
    msgraph-core
    azure-identity
    expiringdict
    geoip2
    google-api-core
    google-api-python-client
    google-auth
    google-auth-httplib2
    google-auth-oauthlib
    imapclient
    kafka-python
    lxml
    mailsuite
    msgraph-core
    publicsuffixlist
    requests
    tqdm
    urllib3
    xmltodict
  ];

  # no tests on PyPI, no tags on GitHub
  # https://github.com/domainaware/parsedmarc/issues/426
  doCheck = false;

  pythonImportsCheck = [ "parsedmarc" ];
@@ -97,11 +94,11 @@ buildPythonPackage rec {
    tests = nixosTests.parsedmarc;
  };

  meta = {
  meta = with lib; {
    changelog = "https://github.com/domainaware/parsedmarc/blob/master/CHANGELOG.md#${lib.replaceStrings [ "." ] [ "" ] version}";
    description = "Python module and CLI utility for parsing DMARC reports";
    homepage = "https://domainaware.github.io/parsedmarc/";
    maintainers = with lib.maintainers; [ talyz ];
    license = lib.licenses.asl20;
    maintainers = with maintainers; [ talyz ];
    license = licenses.asl20;
  };
}