summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/html-void-elements/default.nix
blob: df94cbaaf31149a49e8300a6842034ce2452ecf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
}:

buildPythonPackage rec {
  pname = "html-void-elements";
  version = "0.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Riverside-Healthcare";
    repo = "html-void-elements";
    rev = version;
    hash = "sha256-Q5OEczTdgCCyoOsKv3MKRE3w4t/qyPG4YKbF19jlC88=";
  };

  nativeBuildInputs = [ poetry-core ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "HtmlVoidElements" ];

  meta = {
    description = "List of HTML void tag names";
    homepage = "https://github.com/Riverside-Healthcare/html-void-elements";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ traxys ];
  };
}