mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-29 21:45:48 +00:00
Diff: https://github.com/mkdocstrings/griffe/compare/2.0.2...2.1.0 Changelog: https://github.com/mkdocstrings/griffe/releases/tag/2.1.0
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
colorama,
|
|
fetchFromGitHub,
|
|
griffelib,
|
|
hatchling,
|
|
pdm-backend,
|
|
uv-dynamic-versioning,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "griffecli";
|
|
version = "2.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mkdocstrings";
|
|
repo = "griffe";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-hNKL86LSE9PwIofxt2t5PrlThiX7hTgYADK2HDVhNjk=";
|
|
};
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/packages/griffecli";
|
|
|
|
build-system = [
|
|
hatchling
|
|
pdm-backend
|
|
uv-dynamic-versioning
|
|
];
|
|
|
|
dependencies = [
|
|
colorama
|
|
griffelib
|
|
];
|
|
|
|
pythonImportsCheck = [ "griffecli" ];
|
|
|
|
meta = {
|
|
description = "Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API";
|
|
homepage = "https://github.com/mkdocstrings/griffe";
|
|
changelog = "https://github.com/mkdocstrings/griffe/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|