Skip to content

Commit

Permalink
Merge #311014: Fix woob
Browse files Browse the repository at this point in the history
Closes #310635
  • Loading branch information
nbraud committed May 12, 2024
2 parents 68c9699 + b91b9f6 commit 581aee4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/woob/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, babel
, buildPythonPackage
, fetchFromGitLab
, fetchpatch
, pythonRelaxDepsHook
, html2text
, lxml
Expand All @@ -11,6 +12,7 @@
, pycountry
, pytestCheckHook
, python-dateutil
, python-jose
, pythonOlder
, pyyaml
, requests
Expand All @@ -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
Expand All @@ -47,6 +57,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
babel
python-dateutil
python-jose
html2text
lxml
packaging
Expand Down

0 comments on commit 581aee4

Please sign in to comment.