Commit c2ea54b3 authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 1368c948
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -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
  ];