Files
nixpkgs/pkgs/development/python-modules/annotated-doc/default.nix
T
Martin Weinelt 12928b102f python3Packages.annotated-doc: init at 0.0.3
New dependency for fastapi.
2025-11-25 12:39:05 -08:00

42 lines
799 B
Nix

{
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 ];
};
}