Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix woob #311014

Merged
merged 2 commits into from
May 12, 2024
Merged

Fix woob #311014

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading