python310Packages.html-text: init at 0.5.2

This commit is contained in:
Bruno BELANYI 2021-11-28 15:39:29 +01:00
parent b0f1f710ae
commit f0b2aba79c
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "html-text";
version = "0.5.2";
src = fetchFromGitHub {
owner = "TeamHG-Memex";
repo = "html-text";
rev = version;
sha256 = "sha256-jw/hpz0QfcgP5OEJcmre0h1OzOfpPtaROxHm+YUqces=";
};
propagatedBuildInputs = [
lxml
];
checkInputs = [
pytestCheckHook
six
];
pythonImportsCheck = [ "html_text" ];
meta = with lib; {
description = "Extract text from HTML";
homepage = "https://github.com/TeamHG-Memex/html-text";
license = licenses.mit;
maintainers = with maintainers; [ ambroisie ];
};
}

View file

@ -4301,6 +4301,8 @@ in {
html-sanitizer = callPackage ../development/python-modules/html-sanitizer { }; html-sanitizer = callPackage ../development/python-modules/html-sanitizer { };
html-text = callPackage ../development/python-modules/html-text { };
HTSeq = callPackage ../development/python-modules/HTSeq { }; HTSeq = callPackage ../development/python-modules/HTSeq { };
httmock = callPackage ../development/python-modules/httmock { }; httmock = callPackage ../development/python-modules/httmock { };