Merge pull request #264305 from fabaff/parsedmarc-fix
python311Packages.parsedmarc: add missing input
This commit is contained in:
commit
27a96b7ac2
1 changed files with 42 additions and 45 deletions
|
@ -1,36 +1,33 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue