Merge pull request #241533 from misuzu/translatehtml-beautifulsoup4-fix

python310Packages.translatehtml: compatibility with new beautifulsoup4
This commit is contained in:
Sandro 2023-07-13 01:06:18 +02:00 committed by GitHub
commit f92c323976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, argostranslate
, beautifulsoup4
}:
@ -16,6 +17,14 @@ buildPythonPackage rec {
sha256 = "6b30ceb8b6f174917e2660caf2d2ccbaa71d8d24c815316edf56b061d678820d";
};
patches = [
# https://github.com/argosopentech/translate-html/pull/15
(fetchpatch {
url = "https://github.com/argosopentech/translate-html/commit/b1c2d210ec1b5fcd0eb79f578bdb5d3ed5c9963a.patch";
hash = "sha256-U65vVuRodMS32Aw6PZlLwaCos51P5B88n5hDgJNMZXU=";
})
];
propagatedBuildInputs = [
argostranslate
beautifulsoup4