From c2ea54b35e40d2e5f63b95c1e44d01b81c1ac133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 26 Mar 2026 09:41:15 -0700 Subject: [PATCH] parsedmarc: 9.0.10 -> 9.5.4 Diff: https://github.com/domainaware/parsedmarc/compare/9.0.10...9.5.4 Changelog: https://github.com/domainaware/parsedmarc/blob/9.5.4/CHANGELOG.md --- .../python-modules/parsedmarc/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/parsedmarc/default.nix b/pkgs/development/python-modules/parsedmarc/default.nix index 377a6ff634fe..dc770a694ecf 100644 --- a/pkgs/development/python-modules/parsedmarc/default.nix +++ b/pkgs/development/python-modules/parsedmarc/default.nix @@ -13,7 +13,6 @@ boto3, dateparser, dnspython, - elastic-transport, elasticsearch-dsl, elasticsearch, expiringdict, @@ -32,8 +31,10 @@ opensearch-py, publicsuffixlist, pygelf, + pyyaml, requests, tqdm, + urllib3, xmltodict, # test @@ -48,16 +49,21 @@ let in buildPythonPackage rec { pname = "parsedmarc"; - version = "9.0.10"; + version = "9.5.4"; pyproject = true; src = fetchFromGitHub { owner = "domainaware"; repo = "parsedmarc"; tag = version; - hash = "sha256-FrLqR9YTZ75YQDWKdFCVTYiY3wTj0OlKSvMukDwDiHs="; + hash = "sha256-Di4ykujzBow1woG0UsH6S1eDu+nuQ8/r6RXcMKLdDF4="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'requires_python = ">=3.10,<3.15"' "" + ''; + build-system = [ hatchling ]; @@ -73,7 +79,6 @@ buildPythonPackage rec { boto3 dateparser dnspython - elastic-transport elasticsearch elasticsearch-dsl expiringdict @@ -91,8 +96,10 @@ buildPythonPackage rec { opensearch-py publicsuffixlist pygelf + pyyaml requests tqdm + urllib3 xmltodict ];