python310Packages.html-text: init at 0.5.2
This commit is contained in:
parent
b0f1f710ae
commit
f0b2aba79c
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/html-text/default.nix
Normal file
37
pkgs/development/python-modules/html-text/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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 { };
|
||||||
|
|
Loading…
Reference in a new issue