1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, lxml 5, six 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "html-text"; 11 version = "0.5.2"; 12 13 src = fetchFromGitHub { 14 owner = "TeamHG-Memex"; 15 repo = "html-text"; 16 rev = version; 17 sha256 = "sha256-jw/hpz0QfcgP5OEJcmre0h1OzOfpPtaROxHm+YUqces="; 18 }; 19 20 propagatedBuildInputs = [ 21 lxml 22 ]; 23 24 checkInputs = [ 25 pytestCheckHook 26 six 27 ]; 28 29 pythonImportsCheck = [ "html_text" ]; 30 31 meta = with lib; { 32 description = "Extract text from HTML"; 33 homepage = "https://github.com/TeamHG-Memex/html-text"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ ambroisie ]; 36 }; 37}