lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python312Packages.lxml-html-clean: init at 0.1.1

Separate project for HTML cleaning functionalities copied from lxml.html.clean

https://github.com/fedora-python/lxml_html_clean/

+42
+40
pkgs/development/python-modules/lxml-html-clean/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + lxml, 6 + unittestCheckHook, 7 + pythonOlder, 8 + setuptools, 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "lxml-html-clean"; 13 + version = "0.1.1"; 14 + pyproject = true; 15 + 16 + disabled = pythonOlder "3.7"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "fedora-python"; 20 + repo = "lxml_html_clean"; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-vnRsSkhjeDxZ2bYbIe+2D4GjymZWcIVo2LAPuCaYIZo="; 23 + }; 24 + 25 + build-system = [ setuptools ]; 26 + 27 + dependencies = [ lxml ]; 28 + 29 + nativeCheckInputs = [ unittestCheckHook ]; 30 + 31 + pythonImportsCheck = [ "lxml_html_clean" ]; 32 + 33 + meta = with lib; { 34 + description = "Separate project for HTML cleaning functionalities copied from lxml.html.clean"; 35 + homepage = "https://github.com/fedora-python/lxml_html_clean/"; 36 + changelog = "https://github.com/fedora-python/lxml_html_clean/blob/${version}/CHANGES.rst"; 37 + license = licenses.bsd3; 38 + maintainers = with maintainers; [ fab ]; 39 + }; 40 + }
+2
pkgs/top-level/python-packages.nix
··· 6989 6989 inherit (pkgs) libxml2 libxslt zlib; 6990 6990 }; 6991 6991 6992 + lxml-html-clean = callPackage ../development/python-modules/lxml-html-clean { }; 6993 + 6992 6994 lxml-stubs = callPackage ../development/python-modules/lxml-stubs { }; 6993 6995 6994 6996 lyricwikia = callPackage ../development/python-modules/lyricwikia { };