10 buildPythonPackage rec {
11 pname = "translatehtml";
14 format = "setuptools";
17 inherit pname version;
18 sha256 = "6b30ceb8b6f174917e2660caf2d2ccbaa71d8d24c815316edf56b061d678820d";
22 # https://github.com/argosopentech/translate-html/pull/15
24 url = "https://github.com/argosopentech/translate-html/commit/b1c2d210ec1b5fcd0eb79f578bdb5d3ed5c9963a.patch";
25 hash = "sha256-U65vVuRodMS32Aw6PZlLwaCos51P5B88n5hDgJNMZXU=";
29 propagatedBuildInputs = [
35 ln -s */requires.txt requirements.txt
37 substituteInPlace requirements.txt \
41 # required for import check to work (argostranslate)
44 pythonImportsCheck = [ "translatehtml" ];
46 doCheck = false; # no tests
49 description = "Translate HTML using Beautiful Soup and Argos Translate";
50 homepage = "https://www.argosopentech.com";
51 license = licenses.mit;
52 maintainers = with maintainers; [ misuzu ];