9 buildPythonPackage rec {
10 pname = "translatehtml";
13 format = "setuptools";
16 inherit pname version;
17 sha256 = "6b30ceb8b6f174917e2660caf2d2ccbaa71d8d24c815316edf56b061d678820d";
21 # https://github.com/argosopentech/translate-html/pull/15
23 url = "https://github.com/argosopentech/translate-html/commit/b1c2d210ec1b5fcd0eb79f578bdb5d3ed5c9963a.patch";
24 hash = "sha256-U65vVuRodMS32Aw6PZlLwaCos51P5B88n5hDgJNMZXU=";
28 propagatedBuildInputs = [
34 ln -s */requires.txt requirements.txt
36 substituteInPlace requirements.txt \
40 # required for import check to work (argostranslate)
43 pythonImportsCheck = [ "translatehtml" ];
45 doCheck = false; # no tests
48 description = "Translate HTML using Beautiful Soup and Argos Translate.";
49 homepage = "https://www.argosopentech.com";
50 license = licenses.mit;
51 maintainers = with maintainers; [ misuzu ];