mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 08:58:58 +03:00
Merge pull request #310920 from fabaff/html-text-bump
python311Packages.html-text: 0.5.2 -> 0.6.2
This commit is contained in:
commit
c686f0e928
@ -1,37 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lxml
|
||||
, six
|
||||
, pytestCheckHook
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lxml,
|
||||
lxml-html-clean,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "html-text";
|
||||
version = "0.5.2";
|
||||
format = "setuptools";
|
||||
version = "0.6.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TeamHG-Memex";
|
||||
owner = "zytedata";
|
||||
repo = "html-text";
|
||||
rev = version;
|
||||
hash = "sha256-jw/hpz0QfcgP5OEJcmre0h1OzOfpPtaROxHm+YUqces=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-e9gkibQv8mn1Jbt77UmpauOeTqhJQhY9R5Sge/iYi+U=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
lxml
|
||||
lxml-html-clean
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
six
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "html_text" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extract text from HTML";
|
||||
homepage = "https://github.com/TeamHG-Memex/html-text";
|
||||
homepage = "https://github.com/zytedata/html-text";
|
||||
changelog = "https://github.com/zytedata/html-text/blob/${version}/CHANGES.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ambroisie ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user