python313Packages.cyclopts: 3.14.2 -> 3.15.0

Changelog: https://github.com/BrianPugh/cyclopts/releases/tag/v3.15.0
This commit is contained in:
Fabian Affolter
2025-05-08 22:11:33 +02:00
parent dbe58299ac
commit bd4dd91956
@@ -4,7 +4,6 @@
buildPythonPackage,
docstring-parser,
fetchFromGitHub,
importlib-metadata,
poetry-core,
poetry-dynamic-versioning,
pydantic,
@@ -12,23 +11,23 @@
pytestCheckHook,
pythonOlder,
pyyaml,
rich,
rich-rst,
typing-extensions,
rich,
trio,
}:
buildPythonPackage rec {
pname = "cyclopts";
version = "3.14.2";
version = "3.15.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "BrianPugh";
repo = "cyclopts";
tag = "v${version}";
hash = "sha256-vQTODRlHktmA+mf9Yy8ab8H+HVlQjK8MZ4XpjLHbozs=";
hash = "sha256-APg6Z1atVgkWy0/Gf30l7XrLZtxevt6Hj4z4ytKiy/0=";
};
build-system = [
@@ -39,18 +38,21 @@ buildPythonPackage rec {
dependencies = [
attrs
docstring-parser
importlib-metadata
rich
rich-rst
typing-extensions
];
optional-dependencies = {
trio = [ trio ];
yaml = [ pyyaml ];
};
nativeCheckInputs = [
pydantic
pytest-mock
pytestCheckHook
pyyaml
];
] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "cyclopts" ];