python310Packages.html5tagger: init at 1.3.0

Introduced for sanic upgrade.
This commit is contained in:
Martin Weinelt
2023-07-28 12:15:37 +02:00
parent ffaaf0c196
commit 0ef17cbd0c
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
}:
buildPythonPackage rec {
pname = "html5tagger";
version = "1.3.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "sanic-org";
repo = "html5tagger";
rev = "v${version}";
hash = "sha256-Or0EizZC9FMjTcbgecDvgGB09KNGyxHreSDojgB7ysg=";
};
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
# no tests
doCheck = false;
pythonImportsCheck = [
"html5tagger"
];
meta = with lib; {
description = "Create HTML documents from Python";
homepage = "https://github.com/sanic-org/html5tagger";
license = licenses.unlicense;
maintainers = with maintainers; [ ];
};
}
+2
View File
@@ -4833,6 +4833,8 @@ self: super: with self; {
html5lib = callPackage ../development/python-modules/html5lib { };
html5tagger = callPackage ../development/python-modules/html5tagger { };
html5-parser = callPackage ../development/python-modules/html5-parser { };
htmllaundry = callPackage ../development/python-modules/htmllaundry { };