about summary refs log tree commit diff
path: root/pkgs/development/python-modules/oletools
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-01-20 09:39:09 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-23 01:09:40 +0100
commit776cbab8d7e1c4a252f2756ed50847aff8ae7d11 (patch)
tree4a2bf57e65c3246ae4f59704a013223c081b832b /pkgs/development/python-modules/oletools
parent0e402b99365bb959ec96138490b33bf4d68233e4 (diff)
python3Packages.oletools: relax pyparsing constraint
Diffstat (limited to 'pkgs/development/python-modules/oletools')
-rw-r--r--pkgs/development/python-modules/oletools/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/oletools/default.nix b/pkgs/development/python-modules/oletools/default.nix
index 54c5c6c165b24..76019730eb70a 100644
--- a/pkgs/development/python-modules/oletools/default.nix
+++ b/pkgs/development/python-modules/oletools/default.nix
@@ -39,6 +39,11 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "pyparsing>=2.1.0,<3" "pyparsing>=2.1.0"
+  '';
+
   disabledTests = [
     # Test fails with AssertionError: Tuples differ: ('MS Word 2007+...
     "test_all"