blob: 4f2d237d630b8e687e84a8cc88abc0a8a8b8b443 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
packaging,
typing-extensions,
pytestCheckHook,
syrupy,
}:
buildPythonPackage rec {
pname = "htmltools";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "posit-dev";
repo = "py-htmltools";
tag = "v${version}";
hash = "sha256-ugtDYs5YaVo7Yy9EodyRrypHQUjmOIPpsyhwNnZkiko=";
};
build-system = [
setuptools
];
dependencies = [
packaging
typing-extensions
];
pythonImportsCheck = [ "htmltools" ];
nativeCheckInputs = [
pytestCheckHook
syrupy
];
meta = {
description = "Tools for HTML generation and output";
homepage = "https://github.com/posit-dev/py-htmltools";
changelog = "https://github.com/posit-dev/py-htmltools/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|