1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6}:
7
8buildPythonPackage rec {
9 pname = "html-void-elements";
10 version = "0.1.0";
11 format = "pyproject";
12
13 src = fetchFromGitHub {
14 owner = "Riverside-Healthcare";
15 repo = "html-void-elements";
16 rev = version;
17 hash = "sha256-Q5OEczTdgCCyoOsKv3MKRE3w4t/qyPG4YKbF19jlC88=";
18 };
19
20 nativeBuildInputs = [ poetry-core ];
21
22 # has no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "HtmlVoidElements" ];
26
27 meta = with lib; {
28 description = "List of HTML void tag names";
29 homepage = "https://github.com/Riverside-Healthcare/html-void-elements";
30 license = licenses.gpl3Only;
31 maintainers = with maintainers; [ traxys ];
32 };
33}