diff options
Diffstat (limited to 'pkgs/development/python-modules/parsedmarc/default.nix')
-rw-r--r-- | pkgs/development/python-modules/parsedmarc/default.nix | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/pkgs/development/python-modules/parsedmarc/default.nix b/pkgs/development/python-modules/parsedmarc/default.nix index 5002f564094..576b5486055 100644 --- a/pkgs/development/python-modules/parsedmarc/default.nix +++ b/pkgs/development/python-modules/parsedmarc/default.nix @@ -1,36 +1,34 @@ -{ buildPythonPackage -, fetchPypi -, fetchurl -, lib -, nixosTests -, python -, pythonOlder - -# pythonPackages -, hatchling -, dnspython -, expiringdict -, publicsuffix2 -, xmltodict -, geoip2 -, urllib3 -, requests -, imapclient +{ lib +, azure-identity +, azure-monitor-ingestion +, 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 @@ -41,15 +39,14 @@ let in buildPythonPackage rec { pname = "parsedmarc"; - version = "8.4.2"; + version = "8.6.4"; + pyproject = true; disabled = pythonOlder "3.7"; - format = "pyproject"; - src = fetchPypi { inherit pname version; - hash = "sha256-6dP9zQI0jYiE+lUhmFBNp8Sv9povm9Pa4R4TuzAmEQk="; + hash = "sha256-ibxSp1M85WngQKdjlRC4JvLxn0rEn9oVkid/V4iD6zY="; }; postPatch = '' @@ -62,32 +59,34 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - dnspython - expiringdict - publicsuffix2 - xmltodict - geoip2 - urllib3 - requests - imapclient + azure-identity + azure-monitor-ingestion + 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 +96,12 @@ 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; + mainProgram = "parsedmarc"; + maintainers = with maintainers; [ talyz ]; + license = licenses.asl20; }; } |