blob: 9e728e18c0772f72f868205ecfedc6d0d381e130 (
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,
pdm-backend,
pytestCheckHook,
typing-extensions,
}:
buildPythonPackage rec {
pname = "annotated-doc";
version = "0.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "fastapi";
repo = "annotated-doc";
tag = version;
hash = "sha256-O7kobzzFfHelYsxTflifEcoEWsUmPzlDz3siFTAq0I0=";
};
build-system = [
pdm-backend
];
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 ];
};
}
|