mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
45 lines
823 B
Nix
45 lines
823 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
webencodings,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tinyhtml5";
|
|
version = "2.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CourtBouillon";
|
|
repo = "tinyhtml5";
|
|
tag = version;
|
|
hash = "sha256-8OKZAQyFMoICcln6XxTE9MHivXaW8pBVC6n+hbriIoU=";
|
|
};
|
|
|
|
build-system = [
|
|
flit-core
|
|
];
|
|
|
|
dependencies = [
|
|
webencodings
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"tinyhtml5"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/CourtBouillon/tinyhtml5/releases/tag/${src.tag}";
|
|
description = "A tiny HTML5 parser";
|
|
homepage = "https://github.com/CourtBouillon/tinyhtml5";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|