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/
This commit is contained in:
parent
fed6f67bd9
commit
0696b0637a
40
pkgs/development/python-modules/lxml-html-clean/default.nix
Normal file
40
pkgs/development/python-modules/lxml-html-clean/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
lxml,
|
||||||
|
unittestCheckHook,
|
||||||
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "lxml-html-clean";
|
||||||
|
version = "0.1.1";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "fedora-python";
|
||||||
|
repo = "lxml_html_clean";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-vnRsSkhjeDxZ2bYbIe+2D4GjymZWcIVo2LAPuCaYIZo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [ lxml ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [ unittestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "lxml_html_clean" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Separate project for HTML cleaning functionalities copied from lxml.html.clean";
|
||||||
|
homepage = "https://github.com/fedora-python/lxml_html_clean/";
|
||||||
|
changelog = "https://github.com/fedora-python/lxml_html_clean/blob/${version}/CHANGES.rst";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6989,6 +6989,8 @@ self: super: with self; {
|
||||||
inherit (pkgs) libxml2 libxslt zlib;
|
inherit (pkgs) libxml2 libxslt zlib;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lxml-html-clean = callPackage ../development/python-modules/lxml-html-clean { };
|
||||||
|
|
||||||
lxml-stubs = callPackage ../development/python-modules/lxml-stubs { };
|
lxml-stubs = callPackage ../development/python-modules/lxml-stubs { };
|
||||||
|
|
||||||
lyricwikia = callPackage ../development/python-modules/lyricwikia { };
|
lyricwikia = callPackage ../development/python-modules/lyricwikia { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user