Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

python311Packages.html-text: 0.5.2 -> 0.6.2 #310920

Merged
merged 3 commits into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 23 additions & 17 deletions pkgs/development/python-modules/html-text/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
Expand Down