summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-05-12 09:28:11 +0200
committerGitHub <noreply@github.com>2024-05-12 09:28:11 +0200
commitc686f0e92807882000ba36451b61e862e0e18b84 (patch)
tree54a271ba1c94bfe10e43f7d1f0a61251f5801941
parent56f823679a4ba3efc6864e64c589c081a7c86e56 (diff)
parent01701d1a13f87e396be13735209ed4d772c6e362 (diff)
Merge pull request #310920 from fabaff/html-text-bump
python311Packages.html-text: 0.5.2 -> 0.6.2
-rw-r--r--pkgs/development/python-modules/html-text/default.nix40
1 files changed, 23 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/html-text/default.nix b/pkgs/development/python-modules/html-text/default.nix
index 00d2fb426d38..43d7ca228bb0 100644
--- a/pkgs/development/python-modules/html-text/default.nix
+++ b/pkgs/development/python-modules/html-text/default.nix
@@ -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 ];
};