python3Packages.annotated-doc: init at 0.0.3
New dependency for fastapi.
This commit is contained in:
committed by
Robert Schütz
parent
edecdd9e3f
commit
12928b102f
@@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
||||
@@ -702,6 +702,8 @@ self: super: with self; {
|
||||
|
||||
annexremote = callPackage ../development/python-modules/annexremote { };
|
||||
|
||||
annotated-doc = callPackage ../development/python-modules/annotated-doc { };
|
||||
|
||||
annotated-types = callPackage ../development/python-modules/annotated-types { };
|
||||
|
||||
annotatedyaml = callPackage ../development/python-modules/annotatedyaml { };
|
||||
|
||||
Reference in New Issue
Block a user