Unverified Commit 581aee47 authored by nicoo's avatar nicoo Committed by GitHub
Browse files

Merge #311014: Fix woob

Closes #310635
parents 68c96991 b91b9f63
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, babel
, buildPythonPackage
, fetchFromGitLab
, fetchpatch
, pythonRelaxDepsHook
, html2text
, lxml
@@ -11,6 +12,7 @@
, pycountry
, pytestCheckHook
, python-dateutil
, python-jose
, pythonOlder
, pyyaml
, requests
@@ -35,6 +37,14 @@ buildPythonPackage rec {
    hash = "sha256-M9AjV954H1w64YGCVxDEGGSnoEbmocG3zwltob6IW04=";
  };

  patches = [
    (fetchpatch {
      name = "no-deprecated-pkg_resources.patch";
      url = "https://gitlab.com/woob/woob/-/commit/3283c4c1a935cc71acea98b2d8c88bc4bf28f643.patch";
      hash = "sha256-3bRuv93ivKRxbGr52coO023DlxHZWwUeInXTPqQAeL8=";
    })
  ];

  nativeBuildInputs = [
    setuptools
    pythonRelaxDepsHook
@@ -47,6 +57,7 @@ buildPythonPackage rec {
  propagatedBuildInputs = [
    babel
    python-dateutil
    python-jose
    html2text
    lxml
    packaging