Files
nixpkgs/pkgs/development/python-modules/html-void-elements/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
716 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
}:
buildPythonPackage rec {
pname = "html-void-elements";
version = "0.1.0";
format = "pyproject";
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 ];
};
}