From 2fea2285e49f58faa6088e8feca320aac163dd31 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 29 Apr 2022 09:19:58 +0200 Subject: [PATCH] python310Packages.socid-extractor: allow later beautifulsoup4 releases --- .../python-modules/socid-extractor/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/socid-extractor/default.nix b/pkgs/development/python-modules/socid-extractor/default.nix index 38b1de48b2f4..de552ca673c9 100644 --- a/pkgs/development/python-modules/socid-extractor/default.nix +++ b/pkgs/development/python-modules/socid-extractor/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "soxoj"; repo = pname; rev = "v${version}"; - sha256 = "0vdcxinpnl3vn2l4dybbyggdzm5mpmi3qbpars7lrg5m0mib0cml"; + hash = "sha256-tDKwYgW1vEyPzuouPGK9tdTf3vNr+UaosHtQe23srG0="; }; propagatedBuildInputs = [ @@ -27,6 +27,12 @@ buildPythonPackage rec { requests ]; + postPatch = '' + # https://github.com/soxoj/socid-extractor/pull/125 + substituteInPlace requirements.txt \ + --replace "beautifulsoup4~=4.10.0" "beautifulsoup4>=4.10.0" + ''; + # Test require network access doCheck = false;