diff options
Diffstat (limited to 'pkgs/development/python-modules/parsedmarc/default.nix')
-rw-r--r-- | pkgs/development/python-modules/parsedmarc/default.nix | 87 |
1 files changed, 42 insertions, 45 deletions
diff --git a/pkgs/development/python-modules/parsedmarc/default.nix b/pkgs/development/python-modules/parsedmarc/default.nix index 912768621d1..5f168690279 100644 --- a/pkgs/development/python-modules/parsedmarc/default.nix +++ b/pkgs/development/python-modules/parsedmarc/default.nix @@ -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; }; } |