python310Packages.socid-extractor: allow later beautifulsoup4 releases

This commit is contained in:
Fabian Affolter 2022-04-29 09:19:58 +02:00
parent 0830f0b189
commit 2fea2285e4

View file

@ -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;