File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
pkgs/development/python-modules/cyclopts Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 44 buildPythonPackage ,
55 docstring-parser ,
66 fetchFromGitHub ,
7- importlib-metadata ,
87 poetry-core ,
98 poetry-dynamic-versioning ,
109 pydantic ,
1110 pytest-mock ,
1211 pytestCheckHook ,
1312 pythonOlder ,
1413 pyyaml ,
15- rich ,
1614 rich-rst ,
17- typing-extensions ,
15+ rich ,
16+ trio ,
1817} :
1918
2019buildPythonPackage rec {
2120 pname = "cyclopts" ;
22- version = "3.14.2 " ;
21+ version = "3.15.0 " ;
2322 pyproject = true ;
2423
25- disabled = pythonOlder "3.8 " ;
24+ disabled = pythonOlder "3.12 " ;
2625
2726 src = fetchFromGitHub {
2827 owner = "BrianPugh" ;
2928 repo = "cyclopts" ;
3029 tag = "v${ version } " ;
31- hash = "sha256-vQTODRlHktmA+mf9Yy8ab8H+HVlQjK8MZ4XpjLHbozs =" ;
30+ hash = "sha256-APg6Z1atVgkWy0/Gf30l7XrLZtxevt6Hj4z4ytKiy/0 =" ;
3231 } ;
3332
3433 build-system = [
@@ -39,18 +38,21 @@ buildPythonPackage rec {
3938 dependencies = [
4039 attrs
4140 docstring-parser
42- importlib-metadata
4341 rich
4442 rich-rst
45- typing-extensions
4643 ] ;
4744
45+ optional-dependencies = {
46+ trio = [ trio ] ;
47+ yaml = [ pyyaml ] ;
48+ } ;
49+
4850 nativeCheckInputs = [
4951 pydantic
5052 pytest-mock
5153 pytestCheckHook
5254 pyyaml
53- ] ;
55+ ] ++ lib . flatten ( builtins . attrValues optional-dependencies ) ;
5456
5557 pythonImportsCheck = [ "cyclopts" ] ;
5658
You can’t perform that action at this time.
0 commit comments