blob: d3e9777a97e13d95ebda2da9d0790508baf37cb2 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
uv-build,
pytestCheckHook,
typing-extensions,
}:
buildPythonPackage rec {
pname = "annotated-doc";
version = "0.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "fastapi";
repo = "annotated-doc";
tag = version;
hash = "sha256-PFB+GqFRe5vF8xoWJPsXligSpzkUIt8TOqsmrKlfwyc=";
};
build-system = [
uv-build
];
nativeCheckInputs = [
pytestCheckHook
typing-extensions
];
pythonImportsCheck = [
"annotated_doc"
];
meta = {
description = "Document parameters, class attributes, return types, and variables inline, with Annotated";
homepage = "https://github.com/fastapi/annotated-doc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hexa ];
};
}
|